Skip to content

Commit

Permalink
test(informational/type): refine tests for informational EventTypesAs…
Browse files Browse the repository at this point in the history
…Strings() API

Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com>
  • Loading branch information
leodido committed Sep 12, 2024
1 parent 782291e commit e94885b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions informational/type/event_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ func TestEventTypesAsStringsOptions(t *testing.T) {
require.Contains(t, EventTypesAsStrings(DefaultCase), PullSummary.String())
require.Contains(t, EventTypesAsStrings(SnakeCase), FlowsSummary.Case())
require.Contains(t, EventTypesAsStrings(SnakeCase, SingleQuotes), fmt.Sprintf("'%s'", DetectionsSummary.Case()))
require.Contains(t, EventTypesAsStrings(SingleQuotes, WithValue), fmt.Sprintf("'%s' = %d", Summary, Summary))
}

func TestFromUint64(t *testing.T) {
Expand Down

0 comments on commit e94885b

Please sign in to comment.