Assertion fixed

This commit is contained in:
Andrey Breslav
2013-02-11 16:16:42 +04:00
parent b61bdcd67d
commit 766a33aaa1
@@ -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;