parser.spec.js: Fix comment typo

redux
David Majda 8 years ago
parent 9808b88ccb
commit 65ea01cd63

@ -330,7 +330,7 @@ describe("PEG.js grammar parser", function() {
expect("start = !'abcd'?").toParseAs(oneRuleGrammar(simpleNotOptional));
});
// Canonical SuffixedExpression is "'ebcd'?".
// Canonical SuffixedExpression is "'abcd'?".
it("parses SuffixedExpression", function() {
expect("start = 'abcd'\n?").toParseAs(oneRuleGrammar(optional));
expect("start = 'abcd'" ).toParseAs(oneRuleGrammar(literalAbcd));

Loading…
Cancel
Save