From efb2e8a08a8db0dc654298b90b814b3b7cb4d83d Mon Sep 17 00:00:00 2001 From: Shin Fan Date: Tue, 15 Jun 2021 11:38:03 -0700 Subject: [PATCH] Fix format issues --- google/jwt_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/google/jwt_test.go b/google/jwt_test.go index 3bfcb7e..043f445 100644 --- a/google/jwt_test.go +++ b/google/jwt_test.go @@ -23,7 +23,7 @@ import ( var ( privateKey *rsa.PrivateKey jsonKey []byte - once sync.Once + once sync.Once ) func TestJWTAccessTokenSourceFromJSON(t *testing.T) { @@ -139,7 +139,7 @@ func TestJWTAccessTokenSourceWithScope(t *testing.T) { } func setupDummyKey(t *testing.T) { - once.Do(func () { + once.Do(func() { // Generate a key we can use in the test data. pk, err := rsa.GenerateKey(rand.Reader, 2048) if err != nil { @@ -156,5 +156,5 @@ func setupDummyKey(t *testing.T) { t.Fatalf("json.Marshal: %v", err) } jsonKey = bytes.Replace(jwtJSONKey, []byte(`"super secret key"`), enc, 1) - }) + }) }