aboutsummaryrefslogtreecommitdiffstats
path: root/test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A3.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A3.js')
-rw-r--r--test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A3.js43
1 files changed, 0 insertions, 43 deletions
diff --git a/test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A3.js b/test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A3.js
deleted file mode 100644
index 7cc892bac..000000000
--- a/test/suite/sputnik_converted/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A3.js
+++ /dev/null
@@ -1,43 +0,0 @@
-// Copyright 2009 the Sputnik authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-
-/**
-* @name: S11.1.5_A3;
-* @section: 11.1.5;
-* @assertion: Evaluate the production ObjectLiteral: { PropertyNameAndValueList };
-* @description: Creating the object defined with "var object = {0 : 1, "1" : "x", o : {}}";
-*/
-
-
-// Converted for Test262 from original Sputnik source
-
-ES5Harness.registerTest( {
-id: "S11.1.5_A3",
-
-path: "TestCases/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A3.js",
-
-assertion: "Evaluate the production ObjectLiteral: { PropertyNameAndValueList }",
-
-description: "Creating the object defined with \"var object = {0 : 1, \"1\" : \"x\", o : {}}\"",
-
-test: function testcase() {
- var object = {0 : 1, "1" : "x", o : {}};
-
-//CHECK#1
-if (object[0] !== 1) {
- $ERROR('#1: var object = {0 : 1; "1" : "x"; o : {}}; object[0] === 1. Actual: ' + (object[0]));
-}
-
-//CHECK#2
-if (object["1"] !== "x") {
- $ERROR('#2: var object = {0 : 1; "1" : "x"; o : {}}; object["1"] === "x". Actual: ' + (object["1"]));
-}
-
-//CHECK#3
-if (typeof object.o !== "object") {
- $ERROR('#1: var object = {0 : 1; "1" : "x"; o : {}}; typeof object.o === "object". Actual: ' + (typeof object.o));
-}
-
- }
-});
-