aboutsummaryrefslogtreecommitdiffstats
path: root/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A15.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A15.js')
-rw-r--r--test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A15.js40
1 files changed, 0 insertions, 40 deletions
diff --git a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A15.js b/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A15.js
deleted file mode 100644
index 4fcd04f7a..000000000
--- a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A15.js
+++ /dev/null
@@ -1,40 +0,0 @@
-// Copyright 2009 the Sputnik authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-
-/**
-* @name: S12.6.3_A15;
-* @section: 12.6.3;
-* @assertion: The production IterationStatement: "for (var VariableDeclarationListNoIn; Expression; Expression) Statement";
-* @description: Statement must be evaluated before second Expression is evaluated;
-*/
-
-
-// Converted for Test262 from original Sputnik source
-
-ES5Harness.registerTest( {
-id: "S12.6.3_A15",
-
-path: "TestCases/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A15.js",
-
-assertion: "The production IterationStatement: \"for (var VariableDeclarationListNoIn; Expression; Expression) Statement\"",
-
-description: "Statement must be evaluated before second Expression is evaluated",
-
-test: function testcase() {
- //CHECK#1
-for(var i=0;i<10;i++){
- i*=2;
- break;
-}
-if (i!==0) $ERROR('#1: i === 0. Actual: i ==='+ i );
-
-//CHECK#2
-for(var i=0;i<10;i++){
- i*=2;
- if (i===3) $ERROR('#2: i !== 3');
-}
-
-
- }
-});
-