aboutsummaryrefslogtreecommitdiffstats
path: root/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A6_T2.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A6_T2.js')
-rw-r--r--test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A6_T2.js38
1 files changed, 0 insertions, 38 deletions
diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A6_T2.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A6_T2.js
deleted file mode 100644
index ebc007676..000000000
--- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A6_T2.js
+++ /dev/null
@@ -1,38 +0,0 @@
-// Copyright 2009 the Sputnik authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-
-/**
-* @name: S15.2.2.1_A6_T2;
-* @section: 15.2.2.1;
-* @assertion: Since calling Object as a function is identical to calling a function, list of arguments bracketing is allowed;
-* @description: Creating an object with "new Object(null,2,3)";
-*/
-
-
-// Converted for Test262 from original Sputnik source
-
-ES5Harness.registerTest( {
-id: "S15.2.2.1_A6_T2",
-
-path: "TestCases/15_Native/15.2_Object_Objects/15.2.2_The_Object_Constructor/S15.2.2.1_A6_T2.js",
-
-assertion: "Since calling Object as a function is identical to calling a function, list of arguments bracketing is allowed",
-
-description: "Creating an object with \"new Object(null,2,3)\"",
-
-test: function testcase() {
- var obj = new Object(null,2,3);
-
-//CHECK#1
-if (obj.constructor !== Object) {
- $ERROR('#1: Since Object as a function calling is the same as function calling list of arguments can appears in braces;');
-}
-
-//CHECK#2
-if (typeof obj !== "object") {
- $ERROR('#2: Since Object as a function calling is the same as function calling list of arguments can appears in braces;');
-}
-
- }
-});
-