Fix error formatting in test.

Signed-off-by: Teemu Koponen <koponen@styra.com>
This commit is contained in:
Teemu Koponen
2018-04-27 09:48:55 -07:00
committed by Torin Sandall
parent 871e031752
commit 59976cf20a
+1 -1
View File
@@ -41,7 +41,7 @@ func TestRoundTrip(t *testing.T) {
case nil, bool, json.Number, int64, float64, int, string, []interface{},
[]string, map[string]interface{}, map[string]string:
default:
t.Error("unexpected type %T", x)
t.Errorf("unexpected type %T", x)
}
})
}