Skip to content

Commit

Permalink
Fix the test
Browse files Browse the repository at this point in the history
Signed-off-by: Shinnosuke Sawada-Dazai <[email protected]>
  • Loading branch information
Warashi committed Dec 23, 2024
1 parent f4d1407 commit 1a2b091
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions pkg/model/notificationevent_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
}
Expand Down

0 comments on commit 1a2b091

Please sign in to comment.