From 0c361315ae33cbf0428687ed5fd4105b46503b30 Mon Sep 17 00:00:00 2001 From: Kenta Kozuka Date: Wed, 1 Nov 2023 12:20:40 +0900 Subject: [PATCH] Add Parallel() Signed-off-by: Kenta Kozuka --- pkg/model/notificationevent_test.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkg/model/notificationevent_test.go b/pkg/model/notificationevent_test.go index ca9f6429d6..53e5c43770 100644 --- a/pkg/model/notificationevent_test.go +++ b/pkg/model/notificationevent_test.go @@ -21,6 +21,7 @@ import ( ) func TestGroup(t *testing.T) { + t.Parallel() tests := []struct { name string typ NotificationEventType @@ -54,7 +55,9 @@ func TestGroup(t *testing.T) { } for _, tt := range tests { + tt := tt t.Run(tt.name, func(t *testing.T) { + t.Parallel() e := NotificationEvent{Type: tt.typ} got := e.Group() assert.Equal(t, tt.want, got)