Final nits.

Change-Id: I662df725703b5fbc109c2b3bcdb9780424619bdc
This commit is contained in:
Patrick Jones 2021-01-26 11:18:56 -08:00
parent 0cc2c09354
commit 9c218789db
2 changed files with 0 additions and 3 deletions

View File

@ -80,5 +80,4 @@ func (its impersonateTokenSource) Token() (*oauth2.Token, error) {
Expiry: expiry,
TokenType: "Bearer",
}, nil
}

View File

@ -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)
}
}