Skip to content

Commit d37ade9

Browse files
dmitriplotnikovcopybara-github
authored andcommitted
[Pratt parser] Improve compatibility with ANTLR parser
PiperOrigin-RevId: 972794453
1 parent 4e64447 commit d37ade9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cel_expr_python/cel_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -803,7 +803,7 @@ def testCompilationErrorHandling(self):
803803
self.env.compile("'Hello,' # 'World!'", disable_check=True)
804804
if self.options.enable_pratt_parser:
805805
self.assertIn(
806-
"1:10: unexpected character\n"
806+
"1:10: Syntax error: unexpected character\n"
807807
" | 'Hello,' # 'World!'\n"
808808
" | .........^",
809809
str(e.exception),

0 commit comments

Comments
 (0)