diff --git a/google/internal/externalaccount/sts_exchange_test.go b/google/internal/externalaccount/sts_exchange_test.go index 7f6ce67..16c86a3 100644 --- a/google/internal/externalaccount/sts_exchange_test.go +++ b/google/internal/externalaccount/sts_exchange_test.go @@ -97,7 +97,7 @@ func TestExchangeToken_Err(t *testing.T) { headers.Add("Content-Type", "application/x-www-form-urlencoded") _, err := ExchangeToken(context.Background(), ts.URL, &tokenRequest, auth, headers, nil) if err == nil { - t.Errorf(" Expected handled error; instead got nil.") + t.Errorf("Expected handled error; instead got nil.") } }