blob: e0d2c5696efd441f0f40ac5fb09a0a0b976f0fb1 [file] [log] [blame]
This test checks that automatic semicolon insertion for parsing and reparsing agree. In a debug build, this test will fail with an assertion failure if they do not.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS commaTest() is undefined.
PASS varCommaTest() is undefined.
PASS constCommaTest() is undefined.
PASS commaParenTest() is undefined.
PASS commaParenThrowTest() threw exception ReferenceError: Can't find variable: x.
PASS successfullyParsed is true
TEST COMPLETE