aboutsummaryrefslogtreecommitdiffstats
path: root/website/resources/scripts/testcases2/12.7.json
diff options
context:
space:
mode:
Diffstat (limited to 'website/resources/scripts/testcases2/12.7.json')
-rw-r--r--website/resources/scripts/testcases2/12.7.json14
1 files changed, 14 insertions, 0 deletions
diff --git a/website/resources/scripts/testcases2/12.7.json b/website/resources/scripts/testcases2/12.7.json
new file mode 100644
index 000000000..70418b285
--- /dev/null
+++ b/website/resources/scripts/testcases2/12.7.json
@@ -0,0 +1,14 @@
+{
+ "testCollection": {
+ "name": "12.7",
+ "numTests": 1,
+ "tests": [
+ {
+ "id": "12.7-1",
+ "path": "TestCases/chapter12/12.7/12.7-1.js",
+ "description": "The continue Statement - a continue statement without an identifier may have a LineTerminator before the semi-colon",
+ "test": "assertTrue((function testcase() {\n var sum = 0;\n for (var i = 1; i <= 10; i++) {\n continue\n ;\n sum += i;\n }\n return sum === 0;\n }).call(this));\n"
+ }
+ ]
+ }
+}