test/parser-test.js: Fix comments that look like nested to JSHint

Fixes the following JSHint errors:

  ./test/parser-test.js: line 521, col 29, Nested comment.
  ./test/parser-test.js: line 521, col 29, Stopping, unable to continue. (87% scanned).
redux
David Majda 13 years ago
parent 34d19a7dc6
commit d84f38c64b

@ -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);

Loading…
Cancel
Save