From f46c65f948efcfd0ef3186ed91d0c179a7b26332 Mon Sep 17 00:00:00 2001 From: Patrick Jones Date: Mon, 26 Oct 2020 13:44:32 -0700 Subject: [PATCH] Fixed pointer issue. --- google/internal/externalaccount/clientauth_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/google/internal/externalaccount/clientauth_test.go b/google/internal/externalaccount/clientauth_test.go index 50bcedf..ca79f4a 100644 --- a/google/internal/externalaccount/clientauth_test.go +++ b/google/internal/externalaccount/clientauth_test.go @@ -42,7 +42,7 @@ func TestClientAuthentication_InjectHeaderAuthentication(t *testing.T) { ClientID: clientID, ClientSecret: clientSecret, } - headerAuthentication.InjectAuthentication(&valuesH, &headerH) + headerAuthentication.InjectAuthentication(valuesH, headerH) if got, want := valuesH["audience"], []string{"32555940559.apps.googleusercontent.com"}; !reflect.DeepEqual(got, want) { t.Errorf("audience = %q, want %q", got, want) @@ -73,7 +73,7 @@ func TestClientAuthentication_ParamsAuthentication(t *testing.T) { ClientID: clientID, ClientSecret: clientSecret, } - paramsAuthentication.InjectAuthentication(&valuesP, &headerP) + paramsAuthentication.InjectAuthentication(valuesP, headerP) if got, want := valuesP["audience"], []string{"32555940559.apps.googleusercontent.com"}; !reflect.DeepEqual(got, want) { t.Errorf("audience = %q, want %q", got, want)