Behavior specs cleanup: Improve error reporting specs

This commit is contained in:
David Majda 2015-01-26 09:42:37 +01:00
parent e9d038547d
commit e306b58443

View file

@ -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", {