From 9266220c2a3c8dd4202c542472bde57594efef41 Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Sun, 30 Apr 2023 15:09:41 +0200 Subject: [PATCH] registry/auth/token: TestAudienceList_Unmarshal: t.Parallel() Signed-off-by: Sebastiaan van Stijn --- registry/auth/token/types_test.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/registry/auth/token/types_test.go b/registry/auth/token/types_test.go index f86786002..5e45c0489 100644 --- a/registry/auth/token/types_test.go +++ b/registry/auth/token/types_test.go @@ -6,6 +6,7 @@ import ( ) func TestAudienceList_Unmarshal(t *testing.T) { + t.Parallel() t.Run("OK", func(t *testing.T) { tests := []struct { value string @@ -28,6 +29,7 @@ func TestAudienceList_Unmarshal(t *testing.T) { for _, tc := range tests { tc := tc t.Run("", func(t *testing.T) { + t.Parallel() var actual AudienceList err := json.Unmarshal([]byte(tc.value), &actual) @@ -41,6 +43,7 @@ func TestAudienceList_Unmarshal(t *testing.T) { }) t.Run("Error", func(t *testing.T) { + t.Parallel() var actual AudienceList err := json.Unmarshal([]byte("1234"), &actual)