aboutsummaryrefslogtreecommitdiffstats
path: root/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A8.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A8.js')
-rw-r--r--test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A8.js47
1 files changed, 0 insertions, 47 deletions
diff --git a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A8.js b/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A8.js
deleted file mode 100644
index 9423fe963..000000000
--- a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A8.js
+++ /dev/null
@@ -1,47 +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.2_A8;
-* @section: 12.6.2;
-* @assertion: "continue" statement within a "while" Statement is allowed;
-* @description: using eval;
-*/
-
-
-// Converted for Test262 from original Sputnik source
-
-ES5Harness.registerTest( {
-id: "S12.6.2_A8",
-
-path: "TestCases/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A8.js",
-
-assertion: "\"continue\" statement within a \"while\" Statement is allowed",
-
-description: "using eval",
-
-test: function testcase() {
- var __condition = 0, __odds=0;
-
-__evaluated = eval("while(__condition < 10) { __condition++; if (((''+__condition/2).split('.')).length>1) continue; __odds++;}");
-
-//////////////////////////////////////////////////////////////////////////////
-//CHECK#1
-if (__odds !== 5) {
- $ERROR('#1: __odds === 5. Actual: __odds ==='+ __odds );
-}
-//
-//////////////////////////////////////////////////////////////////////////////
-
-//////////////////////////////////////////////////////////////////////////////
-//CHECK#2
-if (__evaluated !== 4) {
- $ERROR('#2: __evaluated === 4. Actual: __evaluated ==='+ __evaluated );
-}
-//
-//////////////////////////////////////////////////////////////////////////////
-
-
- }
-});
-