Jasmine: Convert non-tests of parser's character class rules

redux
David Majda 12 years ago
parent 3bc61c4c50
commit 4f91286013

@ -68,6 +68,8 @@ describe("PEG.js grammar parser", function() {
}); });
}); });
/* Trivial character class rules are not tested. */
/* Canonical __ is "\n". */ /* Canonical __ is "\n". */
it("parses __", function() { it("parses __", function() {
expect('start ="abcd"' ).toParseAs(trivialGrammar); expect('start ="abcd"' ).toParseAs(trivialGrammar);

@ -525,6 +525,4 @@ test("parses eolEscapeSequence", function() {
parserParses('start = "\\\u2029"', literalGrammar("\u2029")); parserParses('start = "\\\u2029"', literalGrammar("\u2029"));
}); });
/* Trivial character class rules are not tested. */
})(); })();

Loading…
Cancel
Save