diff --git a/internal/token/compose_test.go b/internal/token/compose_test.go index 3269ad5b0..c6efd58ce 100644 --- a/internal/token/compose_test.go +++ b/internal/token/compose_test.go @@ -71,6 +71,6 @@ func TestToken_Compose(t *testing.T) { } if !strings.EqualFold(got, want) { - t.Errorf("Compose is %v, wantName %v", got, want) + t.Errorf("Compose is %v, want %v", got, want) } } diff --git a/internal/token/parse_test.go b/internal/token/parse_test.go index 947fe25d4..600efe35e 100644 --- a/internal/token/parse_test.go +++ b/internal/token/parse_test.go @@ -112,7 +112,7 @@ func TestTokenManager_ParseToken(t *testing.T) { } if !reflect.DeepEqual(got, tt.Want) { - t.Errorf("Parse is %v, wantName %v", got, tt.Want) + t.Errorf("Parse is %v, want %v", got, tt.Want) } }) } @@ -138,7 +138,7 @@ func TestTokenManager_ParseToken_Error_NoParse(t *testing.T) { } if got != nil { - t.Errorf("Parse is %v, wantName nil", got) + t.Errorf("Parse is %v, want nil", got) } } @@ -208,7 +208,7 @@ func TestTokenManager_ParseToken_NoSubject(t *testing.T) { } if got != nil { - t.Errorf("Parse is %v, wantName nil", got) + t.Errorf("Parse is %v, want nil", got) } } @@ -248,7 +248,7 @@ func TestTokenManager_ParseToken_Error_InvalidSignature(t *testing.T) { } if got != nil { - t.Errorf("Parse is %v, wantName nil", got) + t.Errorf("Parse is %v, want nil", got) } } @@ -285,6 +285,6 @@ func TestToken_Parse_AccessToken_NoExpiration(t *testing.T) { } if got != nil { - t.Errorf("Parse is %v, wantName nil", got) + t.Errorf("Parse is %v, want nil", got) } }