Jasmine: Convert non-tests of parser's character class rules
This commit is contained in:
parent
3bc61c4c50
commit
4f91286013
|
@ -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);
|
||||
|
|
|
@ -525,6 +525,4 @@ test("parses eolEscapeSequence", function() {
|
|||
parserParses('start = "\\\u2029"', literalGrammar("\u2029"));
|
||||
});
|
||||
|
||||
/* Trivial character class rules are not tested. */
|
||||
|
||||
})();
|
||||
|
|
Loading…
Reference in a new issue