Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
hugoShaka committed Dec 16, 2024
1 parent 2966633 commit a94f7ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/types/maintenance_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -284,13 +284,13 @@ func TestParseWeekdays(t *testing.T) {
name: "Nil slice",
input: nil,
expect: map[time.Weekday]struct{}{},
expectError: require.NoError,
expectError: require.Error,
},
{
name: "Empty slice",
input: []string{},
expect: map[time.Weekday]struct{}{},
expectError: require.NoError,
expectError: require.Error,
},
{
name: "Few valid days",
Expand Down

0 comments on commit a94f7ae

Please sign in to comment.