From 8db6891fc69ac49e005467650c4a5ee9d5766e75 Mon Sep 17 00:00:00 2001 From: Laria Carolin Chabowski Date: Sat, 30 Dec 2017 13:56:26 +0100 Subject: Fix fmtstring errors --- objects/properties_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'objects') diff --git a/objects/properties_test.go b/objects/properties_test.go index 7243ce3..418f16d 100644 --- a/objects/properties_test.go +++ b/objects/properties_test.go @@ -34,7 +34,7 @@ func TestPropertyMarshalling(t *testing.T) { for _, subtest := range tests { have, err := subtest.in.MarshalText() if err != nil { - t.Errorf("%s: Got an error: %s", err) + t.Errorf("%s: Got an error: %s", subtest.name, err) continue } @@ -61,7 +61,7 @@ func TestPropertyUnmarshalling(t *testing.T) { err := have.UnmarshalText([]byte(subtest.in)) if err != nil { - t.Errorf("%s: Got an error: %s", err) + t.Errorf("%s: Got an error: %s", subtest.name, err) continue } -- cgit v1.2.3-54-g00ecf