Fix |oneRuleGrammar| invocation

At one call site, the |oneRuleGrammar| was called with 3 parameters but
it only accepts 2. This commit removes the additional parameter.
redux
David Majda 11 years ago
parent 187f9d6bb0
commit fbcefdf523

@ -188,7 +188,7 @@ describe("PEG.js grammar parser", function() {
var grammar = oneRuleGrammar(literalAbcd, {
type: "initializer",
code: " code "
}, null);
});
expect('{ code } start = "abcd"' ).toParseAs(grammar);
expect('{ code }; start = "abcd"').toParseAs(grammar);

Loading…
Cancel
Save