diff --git a/runtime-testsuite/test/org/antlr/v4/test/runtime/descriptors/ParserErrorsDescriptors.java b/runtime-testsuite/test/org/antlr/v4/test/runtime/descriptors/ParserErrorsDescriptors.java index 02fb884f7f..1d2fd72397 100644 --- a/runtime-testsuite/test/org/antlr/v4/test/runtime/descriptors/ParserErrorsDescriptors.java +++ b/runtime-testsuite/test/org/antlr/v4/test/runtime/descriptors/ParserErrorsDescriptors.java @@ -135,7 +135,7 @@ public static class InvalidATNStateRemoval extends BaseParserTestDescriptor { public static class InvalidEmptyInput extends BaseParserTestDescriptor { public String input = ""; public String output = null; - public String errors = "line 1:0 missing ID at ''\n"; + public String errors = "line 1:0 mismatched input '' expecting ID\n"; public String startRule = "start"; public String grammarName = "T"; @@ -414,7 +414,7 @@ public static class SingleTokenDeletionBeforeLoop extends BaseParserTestDescript /** grammar T; - a : 'a' 'b'* ; + a : 'a' 'b'* EOF ; */ @CommentHasStringValue public String grammar; @@ -436,7 +436,7 @@ public static class SingleTokenDeletionBeforeLoop2 extends BaseParserTestDescrip /** grammar T; - a : 'a' ('b'|'z'{})*; + a : 'a' ('b'|'z'{})* EOF ; */ @CommentHasStringValue public String grammar;