mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
SSR: improve test
This commit is contained in:
+5
-1
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user