Assertion fixed
This commit is contained in:
@@ -54,7 +54,7 @@ public class SimpleTestMethodModel implements TestMethodModel {
|
||||
Matcher matcher = filenamePattern.matcher(file.getName());
|
||||
boolean found = matcher.find();
|
||||
assert found : file.getName() + " isn't matched by regex " + filenamePattern.pattern();
|
||||
assert matcher.groupCount() == 2 : filenamePattern.pattern();
|
||||
assert matcher.groupCount() == 1 : filenamePattern.pattern();
|
||||
String extractedName = matcher.group(1);
|
||||
|
||||
String unescapedName;
|
||||
|
||||
Reference in New Issue
Block a user