aboutsummaryrefslogtreecommitdiffstats
path: root/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.1_The_Object_Constructor_Called_as_a_Function/S15.2.1.1_A3_T1.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.1_The_Object_Constructor_Called_as_a_Function/S15.2.1.1_A3_T1.js')
-rw-r--r--test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.1_The_Object_Constructor_Called_as_a_Function/S15.2.1.1_A3_T1.js43
1 files changed, 0 insertions, 43 deletions
diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.1_The_Object_Constructor_Called_as_a_Function/S15.2.1.1_A3_T1.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.1_The_Object_Constructor_Called_as_a_Function/S15.2.1.1_A3_T1.js
deleted file mode 100644
index 118fe73ea..000000000
--- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.1_The_Object_Constructor_Called_as_a_Function/S15.2.1.1_A3_T1.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: S15.2.1.1_A3_T1;
-* @section: 15.2.1.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 "Object(1,2,3)";
-*/
-
-
-// Converted for Test262 from original Sputnik source
-
-ES5Harness.registerTest( {
-id: "S15.2.1.1_A3_T1",
-
-path: "TestCases/15_Native/15.2_Object_Objects/15.2.1_The_Object_Constructor_Called_as_a_Function/S15.2.1.1_A3_T1.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 \"Object(1,2,3)\"",
-
-test: function testcase() {
- var obj = Object(1,2,3);
-
-//CHECK#1
-if (obj.constructor !== Number) {
- $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;');
-}
-
-//CHECK#3
-if ((obj != 1)||(obj === 1)) {
- $ERROR('3#: Since Object as a function calling is the same as function calling list of arguments can appears in braces;');
-}
-
- }
-});
-