|
@@ -89,9 +89,9 @@ public class RegexStringListTest {
|
89
|
89
|
|
90
|
90
|
final IgnoreList list = new IgnoreList(tempList);
|
91
|
91
|
|
92
|
|
- assertTrue(list.matches("a!b@c") == 0);
|
93
|
|
- assertTrue(list.matches("foo") == -1);
|
94
|
|
- assertTrue(list.matches("Dataforce") == 1);
|
|
92
|
+ assertEquals(0, list.matches("a!b@c"));
|
|
93
|
+ assertEquals(-1, list.matches("foo"));
|
|
94
|
+ assertEquals(1, list.matches("Dataforce"));
|
95
|
95
|
assertFalse(list.matches(100, "Dataforce"));
|
96
|
96
|
assertTrue(list.matches(1, "Dataforce"));
|
97
|
97
|
}
|