File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ func TestNumericDate(t *testing.T) {
28
28
b , _ := json .Marshal (s )
29
29
30
30
if raw != string (b ) {
31
- t .Errorf ("Serialized format of numeric date mismatch. Expecting: %s Got: %s" , string ( raw ) , string (b ))
31
+ t .Errorf ("Serialized format of numeric date mismatch. Expecting: %s Got: %s" , raw , string (b ))
32
32
}
33
33
34
34
jwt .TimePrecision = oldPrecision
@@ -46,7 +46,7 @@ func TestSingleArrayMarshal(t *testing.T) {
46
46
}
47
47
48
48
if expected != string (b ) {
49
- t .Errorf ("Serialized format of string array mismatch. Expecting: %s Got: %s" , string ( expected ) , string (b ))
49
+ t .Errorf ("Serialized format of string array mismatch. Expecting: %s Got: %s" , expected , string (b ))
50
50
}
51
51
52
52
jwt .MarshalSingleStringAsArray = true
@@ -60,7 +60,7 @@ func TestSingleArrayMarshal(t *testing.T) {
60
60
}
61
61
62
62
if expected != string (b ) {
63
- t .Errorf ("Serialized format of string array mismatch. Expecting: %s Got: %s" , string ( expected ) , string (b ))
63
+ t .Errorf ("Serialized format of string array mismatch. Expecting: %s Got: %s" , expected , string (b ))
64
64
}
65
65
}
66
66
You can’t perform that action at this time.
0 commit comments