From 1a2b0913c22ce759063ff329e5d54a0ef2fe9020 Mon Sep 17 00:00:00 2001 From: Shinnosuke Sawada-Dazai Date: Mon, 23 Dec 2024 11:32:49 +0900 Subject: [PATCH] Fix the test Signed-off-by: Shinnosuke Sawada-Dazai --- pkg/model/notificationevent_test.go | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/pkg/model/notificationevent_test.go b/pkg/model/notificationevent_test.go index b1b80d95ce..a7c425848b 100644 --- a/pkg/model/notificationevent_test.go +++ b/pkg/model/notificationevent_test.go @@ -48,8 +48,13 @@ func TestGroup(t *testing.T) { want: NotificationEventGroup_EVENT_PIPED, }, { - name: "returns EVENT_NONE for type >= 400", - typ: 400, + name: "returns EVENT_NONE for type < 500", + typ: 499, + want: NotificationEventGroup_EVENT_STAGE, + }, + { + name: "returns EVENT_NONE for type >= 500", + typ: 500, want: NotificationEventGroup_EVENT_NONE, }, }