diff --git a/spec/parser.spec.js b/spec/parser.spec.js index 5842ef4..ab59e18 100644 --- a/spec/parser.spec.js +++ b/spec/parser.spec.js @@ -125,6 +125,8 @@ describe("PEG.js grammar parser", function() { }); }); + /* Trivial character rules are not tested. */ + /* Canonical identifier is "a". */ it("parses identifier", function() { expect('start = a' ).toParseAs(ruleRefGrammar("a")); diff --git a/test/parser-test.js b/test/parser-test.js index 451ba38..0bcf836 100644 --- a/test/parser-test.js +++ b/test/parser-test.js @@ -315,6 +315,4 @@ test("parses braced", function() { parserParses('start = "a" {aaa}', actionGrammar("aaa")); }); -/* Trivial character rules are not tested. */ - })();