Skip to content

Commit

Permalink
[ELY-2599] Update assertEquals calls in RegexRoleMapperTest so that t…
Browse files Browse the repository at this point in the history
…he expected value and actual value are passed in the correct order
  • Loading branch information
nasonawa committed Sep 28, 2023
1 parent 8da9642 commit 3f3fb5a
Showing 1 changed file with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public void testRegexMapper() {
iterator.next();
count++;
}
assertEquals(count, 3);
assertEquals(3, count);
}

@Test
Expand All @@ -69,7 +69,7 @@ public void testRegexMapperDoNotKeepNonMapped() {
iterator.next();
count++;
}
assertEquals(count, 2);
assertEquals(2,count);
}

@Test
Expand All @@ -90,7 +90,7 @@ public void testRegexMapper2() {
iterator.next();
count++;
}
assertEquals(count, 2);
assertEquals(2,count);
}

@Test
Expand All @@ -111,7 +111,7 @@ public void testRegexMapper3() {
iterator.next();
count++;
}
assertEquals(count, 3);
assertEquals(3,count);
}

@Test
Expand All @@ -132,7 +132,7 @@ public void testRegexMapperEmailKeep() {
iterator.next();
count++;
}
assertEquals(count, 3);
assertEquals(3,count);
}

@Test
Expand All @@ -153,7 +153,7 @@ public void testRegexMapperEmailDoNotKeep() {
iterator.next();
count++;
}
assertEquals(count, 2);
assertEquals( 2,count);
}

@Test
Expand All @@ -174,7 +174,7 @@ public void testRegexMapperEmailDoNotKeepReplaceAll() {
iterator.next();
count++;
}
assertEquals(count, 2);
assertEquals( 2,count);
}

@Test(expected = IllegalArgumentException.class)
Expand Down Expand Up @@ -238,7 +238,7 @@ public void testRegexMapperReplaceAllSubstrings() {
iterator.next();
count++;
}
assertEquals(count, 2);
assertEquals(2,count);
}

private Set<String> createSet(String... values) {
Expand Down

0 comments on commit 3f3fb5a

Please sign in to comment.