Behavior specs cleanup: Improve error reporting specs
This commit is contained in:
parent
e9d038547d
commit
e306b58443
|
@ -1090,7 +1090,7 @@ describe("generated parser behavior", function() {
|
|||
'start = line (nl+ line)*',
|
||||
'line = digit (" "+ digit)*',
|
||||
'digit = [0-9]',
|
||||
'nl = ("\\r" / "\\n" / "\\u2028" / "\\u2029")'
|
||||
'nl = [\\r\\n\\u2028\\u2029]'
|
||||
].join("\n"), options);
|
||||
|
||||
expect(parser).toFailToParse("1\n2\n\n3\n\n\n4 5 x", {
|
||||
|
|
Loading…
Reference in a new issue