Skip to content

Commit 5d42bfe

Browse files
Import cleanup
Using static Assert imports for implementation consistency.
1 parent 5a65083 commit 5d42bfe

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/test/java/org/owasp/esapi/reference/regex/AbstractPatternTest.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,10 @@
1313
*/
1414
package org.owasp.esapi.reference.regex;
1515

16+
import static org.junit.Assert.assertEquals;
17+
1618
import java.util.regex.Pattern;
1719

18-
import org.junit.Assert;
1920
import org.junit.Test;
2021
import org.junit.runner.RunWith;
2122
import org.junit.runners.Parameterized;
@@ -63,7 +64,7 @@ public AbstractPatternTest(PatternTestTuple tuple) {
6364

6465
@Test
6566
public void checkPatternMatches() {
66-
Assert.assertEquals(shouldMatch, pattern.matcher(input).matches());
67+
assertEquals(shouldMatch, pattern.matcher(input).matches());
6768
}
6869

6970
}

0 commit comments

Comments
 (0)