aboutsummaryrefslogtreecommitdiffstats
path: root/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A9.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_A9.js')
-rw-r--r--test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A9.js41
1 files changed, 0 insertions, 41 deletions
diff --git a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A9.js b/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A9.js
deleted file mode 100644
index 8a90ec052..000000000
--- a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A9.js
+++ /dev/null
@@ -1,41 +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_A9;
-* @section: 12.6.3;
-* @assertion: The result of evaluating "for(var ExpNoIn;Exp;Exp)" loop is returning (normal, evalValue, empty);
-* @description: Using eval;
-*/
-
-
-// Converted for Test262 from original Sputnik source
-
-ES5Harness.registerTest( {
-id: "S12.6.3_A9",
-
-path: "TestCases/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A9.js",
-
-assertion: "The result of evaluating \"for(var ExpNoIn;Exp;Exp)\" loop is returning (normal, evalValue, empty)",
-
-description: "Using eval",
-
-test: function testcase() {
- supreme=5;
-
-//////////////////////////////////////////////////////////////////////////////
-//CHECK#
-try {
- var __evaluated = eval("for(var count=0;;) {if (count===supreme)break;else count++; }");
- if (__evaluated !== 4) {
- $ERROR('#1: __evaluated === 4. Actual: __evaluated ==='+ __evaluated );
- }
-} catch (e) {
- $ERROR('#1: var __evaluated = eval("for(var count=0;;) {if (count===supreme)break;else count++; }"); does not lead to throwing exception');
-}
-//
-//////////////////////////////////////////////////////////////////////////////
-
- }
-});
-