diff --git a/google/internal/externalaccount/impersonate.go b/google/internal/externalaccount/impersonate.go index 430e6e3..1d29c46 100644 --- a/google/internal/externalaccount/impersonate.go +++ b/google/internal/externalaccount/impersonate.go @@ -80,5 +80,4 @@ func (its impersonateTokenSource) Token() (*oauth2.Token, error) { Expiry: expiry, TokenType: "Bearer", }, nil - } diff --git a/google/internal/externalaccount/impersonate_test.go b/google/internal/externalaccount/impersonate_test.go index 5526a42..a2d8978 100644 --- a/google/internal/externalaccount/impersonate_test.go +++ b/google/internal/externalaccount/impersonate_test.go @@ -29,7 +29,6 @@ var ( func TestImpersonation(t *testing.T) { impersonateServer := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { - if got, want := r.URL.String(), "/"; got != want { t.Errorf("URL.String(): got %v but want %v", got, want) } @@ -93,5 +92,4 @@ func TestImpersonation(t *testing.T) { if got, want := tok.TokenType, "Bearer"; got != want { t.Errorf("Unexpected TokenType: got %v, but wanted %v", got, want) } - }