Added error output to PatternSyntaxException.
This commit is contained in:
parent
a839bdcc02
commit
9c469cef6b
1 changed files with 2 additions and 1 deletions
|
@ -100,8 +100,9 @@ public class SolrJsonReconcileServletTest extends AbstractTestClass {
|
||||||
Pattern regex = Pattern.compile(modStr);
|
Pattern regex = Pattern.compile(modStr);
|
||||||
Matcher regexMatcher = regex.matcher(resultStr);
|
Matcher regexMatcher = regex.matcher(resultStr);
|
||||||
Assert.assertTrue(message, regexMatcher.find());
|
Assert.assertTrue(message, regexMatcher.find());
|
||||||
} catch (PatternSyntaxException ex) {
|
} catch (PatternSyntaxException e) {
|
||||||
// Syntax error in the regular expression
|
// Syntax error in the regular expression
|
||||||
|
System.err.println("SolrJsonReconcileServletTest testAssertTrue PatternSyntaxException: " + e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue