Fix parse error tests

They were broken because changing the language name from `brag` to `yaragg` changed the source positions of some error messages.
remotes/jackfirth/master
Jack Firth 2 years ago
parent 2786491af1
commit ede85ad60b

@ -42,13 +42,13 @@
"The grammar does not appear to have any rules")
(check-compile-error (format "~a\nfoo" lang-line)
"Error while parsing grammar near: foo [line=2, column=0, position=12]")
"Error while parsing grammar near: foo [line=2, column=0, position=14]")
(check-compile-error (format "~a\nnumber : 42" lang-line)
"Error while parsing grammar near: 42 [line=2, column=9, position=21]")
"Error while parsing grammar near: 42 [line=2, column=9, position=23]")
(check-compile-error (format "~a\nnumber : 1" lang-line)
"Error while parsing grammar near: 1 [line=2, column=9, position=21]")
"Error while parsing grammar near: 1 [line=2, column=9, position=23]")

Loading…
Cancel
Save