Fixed line break in test.

This commit is contained in:
Ivan Kochurkin 2017-03-03 13:44:44 +03:00
parent b07528796e
commit e1ec6a4222
1 changed files with 2 additions and 2 deletions

View File

@ -509,9 +509,9 @@ public class TestToolSyntaxErrors extends BaseJavaToolTest {
"INVALID_CHAR_SET: [\\u24\\uA2][\\{];\n" + //https://github.com/antlr/antlr4/issues/1077
"EMPTY_STRING_LITERAL_RANGE: 'F'..'A' | 'Z';\n" +
"EMPTY_CHAR_SET: [f-az][];\n" +
"INVALID_RANGE_IN_CHAR_SET: [-z] | [a-] | [-];" +
"INVALID_RANGE_IN_CHAR_SET: [-z] | [a-] | [-];\n" +
"VALID_STRING_LITERALS: '\\u1234' | '\\t' | '\\'';\n" +
"VALID_CHAR_SET: [`\\-=\\]];\n";
"VALID_CHAR_SET: [`\\-=\\]];";
String expected =
"warning(" + ErrorType.INVALID_ESCAPE_SEQUENCE.code + "): Test.g4:2:31: invalid escape sequence\n" +