mirror of
https://github.com/open-policy-agent/opa.git
synced 2026-08-12 19:32:48 -06:00
Fix error formatting in test.
Signed-off-by: Teemu Koponen <koponen@styra.com>
This commit is contained in:
committed by
Torin Sandall
parent
871e031752
commit
59976cf20a
+1
-1
@@ -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)
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user