From d84f38c64ba4d345e6f7dd42dc46eb9bc63b83c4 Mon Sep 17 00:00:00 2001 From: David Majda Date: Wed, 14 Sep 2011 12:54:08 +0200 Subject: [PATCH] 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). --- test/parser-test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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);