Skip to content

Commit

Permalink
nits
Browse files Browse the repository at this point in the history
  • Loading branch information
jakelandis committed Apr 30, 2024
1 parent d6c4b66 commit 5e8b8c6
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -145,13 +145,13 @@ public void testPrivilegeNames() {
// special case where there was only 1 random value and it was replaced with a value that is allowed
assertArrayEquals(privileges, found);
} else {
// none of the random privileges are not allowed for the current version
// none of the random privileges are allowed for the current version
assertFalse(Arrays.equals(privileges, found));
if (i == 0) {
// ensure that for the current version we only find "monitor_enrich"
// ensure that for the current version we only find the valid "monitor_enrich"
assertThat(Set.of(found), equalTo(Set.of("monitor_enrich")));
} else {
// all other groups should not have any privileges
// all other groups should be found to not have any privileges
assertTrue(found.length == 0);
}
}
Expand Down

0 comments on commit 5e8b8c6

Please sign in to comment.