aboutsummaryrefslogtreecommitdiffstats
path: root/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A14_T2.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A14_T2.js')
-rw-r--r--test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A14_T2.js42
1 files changed, 0 insertions, 42 deletions
diff --git a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A14_T2.js b/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A14_T2.js
deleted file mode 100644
index 2e79abeec..000000000
--- a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A14_T2.js
+++ /dev/null
@@ -1,42 +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.4_A14_T2;
-* @section: 12.6.4;
-* @assertion: FunctionExpession within a "for-in" Expression is allowed;
-* @description: Using "function __func(){return {a:1};}()" as Expession;
-*/
-
-
-// Converted for Test262 from original Sputnik source
-
-ES5Harness.registerTest( {
-id: "S12.6.4_A14_T2",
-
-path: "TestCases/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A14_T2.js",
-
-assertion: "FunctionExpession within a \"for-in\" Expression is allowed",
-
-description: "Using \"function __func(){return {a:1};}()\" as Expession",
-
-test: function testcase() {
- //////////////////////////////////////////////////////////////////////////////
-//CHECK#
-for(x in function __func(){return {a:1};}()){
- var __reached = x;
-};
-//
-//////////////////////////////////////////////////////////////////////////////
-
-//////////////////////////////////////////////////////////////////////////////
-//CHECK#2
-if (__reached !== "a") {
- $ERROR('#2: function expession inside of for-in expression allowed');
-}
-//
-//////////////////////////////////////////////////////////////////////////////
-
- }
-});
-