blob: 8af697f78ac4e3220ff79a4493b4ab1bd2286f6d [file] [log] [blame]
description("Test to ensure correct handling of --> as a single line comment when at the beginning of a line");
shouldThrow("'should be a syntax error' -->");
shouldThrow("/**/ 1 -->");
shouldThrow("1 /**/ -->");
shouldThrow("1/*\n*/-->");
shouldBeUndefined("-->");
shouldBeUndefined("/**/-->");
shouldBeUndefined("/*\n*/-->");