aboutsummaryrefslogtreecommitdiffstats
path: root/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.2_The_Array_Constructor/15.4.2.1_new_Array/S15.4.2.1_A1.3_T1.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.2_The_Array_Constructor/15.4.2.1_new_Array/S15.4.2.1_A1.3_T1.js')
-rw-r--r--test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.2_The_Array_Constructor/15.4.2.1_new_Array/S15.4.2.1_A1.3_T1.js39
1 files changed, 0 insertions, 39 deletions
diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.2_The_Array_Constructor/15.4.2.1_new_Array/S15.4.2.1_A1.3_T1.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.2_The_Array_Constructor/15.4.2.1_new_Array/S15.4.2.1_A1.3_T1.js
deleted file mode 100644
index 27ca37c7e..000000000
--- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.2_The_Array_Constructor/15.4.2.1_new_Array/S15.4.2.1_A1.3_T1.js
+++ /dev/null
@@ -1,39 +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.4.2.1_A1.3_T1;
- * @section: 15.4.2.1;
- * @assertion: This description of Array constructor applies if and only if
- * the Array constructor is given no arguments or at least two arguments;
- * @description: Checking case when Array constructor is given one argument;
-*/
-
-
-// Converted for Test262 from original Sputnik source
-
-ES5Harness.registerTest( {
-id: "S15.4.2.1_A1.3_T1",
-
-path: "TestCases/15_Native/15.4_Array_Objects/15.4.2_The_Array_Constructor/15.4.2.1_new_Array/S15.4.2.1_A1.3_T1.js",
-
-assertion: "This description of Array constructor applies if and only if",
-
-description: "Checking case when Array constructor is given one argument",
-
-test: function testcase() {
- var x = new Array(2);
-
-//CHECK#1
-if (x.length === 1) {
- $ERROR('#1: var x = new Array(2); x.length !== 1');
-}
-
-//CHECK#2
-if (x[0] === 2) {
- $ERROR('#2: var x = new Array(2); x[0] !== 2');
-}
-
- }
-});
-