Skip to content

Commit

Permalink
Fix flaky test
Browse files Browse the repository at this point in the history
Signed-off-by: Russell Troxel <[email protected]>
  • Loading branch information
rtrox committed Jan 15, 2024
1 parent 13251a8 commit 505a129
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/ent/schema/permissions/permissions_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ func Test_Permissions_StringSlice(t *testing.T) {
CanCreatePublic: struct{}{},
}

require.Equal([]string{"Admin", "CanCreatePublic"}, p.StringSlice())
require.ElementsMatch([]string{"Admin", "CanCreatePublic"}, p.StringSlice())
}

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

0 comments on commit 505a129

Please sign in to comment.