fixed copy/paste issues
This commit is contained in:
@@ -57,9 +57,8 @@ public class AssertRegex {
|
||||
* @param message A message to record on failure
|
||||
* @param expected A regular expression
|
||||
* @param actual A text value to evaluate
|
||||
* @see AssertRegex#assertNotMatches(String, Pattern, String)
|
||||
* @see AssertRegex#assertNotMatches(Pattern, String, String)
|
||||
*/
|
||||
public st
|
||||
public static void assertMatches(Pattern expected, String actual, String message) {
|
||||
assertMatches(false, expected, actual, message);
|
||||
}
|
||||
@@ -109,7 +108,7 @@ public class AssertRegex {
|
||||
* @param message A message to record on failure
|
||||
* @param expected A regular expression
|
||||
* @param actual A text value to evaluate
|
||||
* @see AssertRegex#assertMatches(String, Pattern, String)
|
||||
* @see AssertRegex#assertMatches(Pattern, String, String)
|
||||
*/
|
||||
public static void assertNotMatches(Pattern expected, String actual, String message) {
|
||||
assertMatches(true, expected, actual, message);
|
||||
|
Reference in New Issue
Block a user