diff --git a/spec/parser.spec.js b/spec/parser.spec.js index 5fd6c33..7138c69 100644 --- a/spec/parser.spec.js +++ b/spec/parser.spec.js @@ -68,6 +68,8 @@ describe("PEG.js grammar parser", function() { }); }); + /* Trivial character class rules are not tested. */ + /* Canonical __ is "\n". */ it("parses __", function() { expect('start ="abcd"' ).toParseAs(trivialGrammar); diff --git a/test/parser-test.js b/test/parser-test.js index cee2a80..87948e2 100644 --- a/test/parser-test.js +++ b/test/parser-test.js @@ -525,6 +525,4 @@ test("parses eolEscapeSequence", function() { parserParses('start = "\\\u2029"', literalGrammar("\u2029")); }); -/* Trivial character class rules are not tested. */ - })();