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

redux
David Majda 12 years ago
parent 4f5b78b372
commit b1cb214e8b

@ -125,6 +125,8 @@ describe("PEG.js grammar parser", function() {
}); });
}); });
/* Trivial character rules are not tested. */
/* Canonical identifier is "a". */ /* Canonical identifier is "a". */
it("parses identifier", function() { it("parses identifier", function() {
expect('start = a' ).toParseAs(ruleRefGrammar("a")); expect('start = a' ).toParseAs(ruleRefGrammar("a"));

@ -315,6 +315,4 @@ test("parses braced", function() {
parserParses('start = "a" {aaa}', actionGrammar("aaa")); parserParses('start = "a" {aaa}', actionGrammar("aaa"));
}); });
/* Trivial character rules are not tested. */
})(); })();

Loading…
Cancel
Save