forked from Mirrors/oauth2
Update print format in jwt_test.go.
This commit is contained in:
parent
ac8ecd8e45
commit
7a6e247e68
|
@ -280,7 +280,7 @@ func TestJWTFetch_AssertionPayload(t *testing.T) {
|
||||||
m := got.(map[string]interface{})
|
m := got.(map[string]interface{})
|
||||||
for v, k := range conf.PrivateClaims {
|
for v, k := range conf.PrivateClaims {
|
||||||
if !reflect.DeepEqual(m[v], k) {
|
if !reflect.DeepEqual(m[v], k) {
|
||||||
t.Errorf("payload private claims key = %q: got %q; want %q", v, m[v], k)
|
t.Errorf("payload private claims key = %q: got %#v; want %#v", v, m[v], k)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue