aboutsummaryrefslogtreecommitdiff
path: root/objects
diff options
context:
space:
mode:
authorLaria Carolin Chabowski <laria@laria.me>2017-12-30 13:56:26 +0100
committerLaria Carolin Chabowski <laria@laria.me>2017-12-30 13:56:26 +0100
commit8db6891fc69ac49e005467650c4a5ee9d5766e75 (patch)
tree69ae22fe29fa8949ccf32f42b0ea4ec38c81e769 /objects
parentb40a3866dcd41ee05277255ae70c2e9ed73897b6 (diff)
downloadpetrific-8db6891fc69ac49e005467650c4a5ee9d5766e75.tar.gz
petrific-8db6891fc69ac49e005467650c4a5ee9d5766e75.tar.bz2
petrific-8db6891fc69ac49e005467650c4a5ee9d5766e75.zip
Fix fmtstring errors
Diffstat (limited to 'objects')
-rw-r--r--objects/properties_test.go4
1 files changed, 2 insertions, 2 deletions
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
}