diff --git a/types_test.go b/types_test.go index a39e1263..bd7b139f 100644 --- a/types_test.go +++ b/types_test.go @@ -28,7 +28,7 @@ func TestNumericDate(t *testing.T) { b, _ := json.Marshal(s) if raw != string(b) { - t.Errorf("Serialized format of numeric date mismatch. Expecting: %s Got: %s", string(raw), string(b)) + t.Errorf("Serialized format of numeric date mismatch. Expecting: %s Got: %s", raw, string(b)) } jwt.TimePrecision = oldPrecision @@ -46,7 +46,7 @@ func TestSingleArrayMarshal(t *testing.T) { } if expected != string(b) { - t.Errorf("Serialized format of string array mismatch. Expecting: %s Got: %s", string(expected), string(b)) + t.Errorf("Serialized format of string array mismatch. Expecting: %s Got: %s", expected, string(b)) } jwt.MarshalSingleStringAsArray = true @@ -60,7 +60,7 @@ func TestSingleArrayMarshal(t *testing.T) { } if expected != string(b) { - t.Errorf("Serialized format of string array mismatch. Expecting: %s Got: %s", string(expected), string(b)) + t.Errorf("Serialized format of string array mismatch. Expecting: %s Got: %s", expected, string(b)) } }