diff --git a/test/parser-test.js b/test/parser-test.js index 77e9eb4..d0f9f19 100644 --- a/test/parser-test.js +++ b/test/parser-test.js @@ -518,7 +518,7 @@ test("parses __", function() { /* Trivial character class rules are not tested. */ -/* Canonical comment is "\/* comment *\/". */ +// Canonical comment is "\/* comment *\/". test("parses comment", function() { parserParses('start =// comment\n"abcd"', simpleGrammar); parserParses('start =/* comment */"abcd"', simpleGrammar); @@ -531,7 +531,7 @@ test("parses singleLineComment", function() { parserParses('start = "abcd"//', simpleGrammar); }); -/* Canonical multiLineComment is "\/* comment *\/". */ +// Canonical multiLineComment is "\/* comment *\/". test("parses multiLineComment", function() { parserParses('start =/**/"abcd"', simpleGrammar); parserParses('start =/*a*/"abcd"', simpleGrammar);