From 4f91286013e27a0e29730675171661367aecb7f0 Mon Sep 17 00:00:00 2001 From: David Majda Date: Fri, 20 Apr 2012 15:18:16 +0200 Subject: [PATCH] Jasmine: Convert non-tests of parser's character class rules --- spec/parser.spec.js | 2 ++ test/parser-test.js | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) 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. */ - })();