mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
SSR: fix test failure on Windows machines
This commit is contained in:
+5
-5
@@ -142,9 +142,9 @@ public class StringToConstraintsTransformerTest {
|
||||
|
||||
@Test
|
||||
public void testInvalidRegularExpression() {
|
||||
expectException("'a:x!(", "Invalid regular expression: Unclosed group near index 3\n" +
|
||||
"x!(\n" +
|
||||
" ^");
|
||||
expectException("'a:x!(", String.format("Invalid regular expression: Unclosed group near index 3%n" +
|
||||
"x!(%n" +
|
||||
" ^"));
|
||||
}
|
||||
|
||||
@Test
|
||||
@@ -277,8 +277,8 @@ public class StringToConstraintsTransformerTest {
|
||||
|
||||
@Test
|
||||
public void testInvalidRegex() {
|
||||
expectException("'T:{ ;", "Invalid regular expression: Illegal repetition\n" +
|
||||
"{");
|
||||
expectException("'T:{ ;", String.format("Invalid regular expression: Illegal repetition%n" +
|
||||
"{"));
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
Reference in New Issue
Block a user