SSR: improve test

This commit is contained in:
Bas Leijdekkers
2014-08-10 23:18:50 +02:00
parent d544d499ba
commit 55c5b239ae
@@ -2948,8 +2948,12 @@ public class StructuralSearchTest extends StructuralSearchTestCase {
String source = "{}";
String pattern1 = "/*$A$a*/";
MalformedPatternException ex = null;
try {
findMatchesCount(source, pattern1);
} catch (MalformedPatternException ignore) {}
} catch (MalformedPatternException e) {
ex = e;
}
assertNotNull(ex);
}
}