aboutsummaryrefslogtreecommitdiffstats
path: root/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/S9.3_A2_T1.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/S9.3_A2_T1.js')
-rw-r--r--test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/S9.3_A2_T1.js35
1 files changed, 0 insertions, 35 deletions
diff --git a/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/S9.3_A2_T1.js b/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/S9.3_A2_T1.js
deleted file mode 100644
index 7e9da9211..000000000
--- a/test/suite/sputnik_converted/09_Type_Conversion/9.3_ToNumber/S9.3_A2_T1.js
+++ /dev/null
@@ -1,35 +0,0 @@
-// Copyright 2009 the Sputnik authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-
-/**
- * @name: S9.3_A2_T1;
- * @section: 9.3, 15.7.1;
- * @assertion: Result of number conversion from null value is +0;
- * @description: null convert to Number by explicit transformation;
- */
-
-
-// Converted for Test262 from original Sputnik source
-
-ES5Harness.registerTest( {
-id: "S9.3_A2_T1",
-
-path: "TestCases/09_Type_Conversion/9.3_ToNumber/S9.3_A2_T1.js",
-
-assertion: "Result of number conversion from null value is +0",
-
-description: "null convert to Number by explicit transformation",
-
-test: function testcase() {
- // CHECK #1
-if (Number(null) !== 0) {
- $ERROR('#1.1: Number(null) === 0. Actual: ' + (Number(null)));
-} else {
- if (1/Number(null) !== Number.POSITIVE_INFINITY) {
- $ERROR('#1.2: Number(null) === +0. Actual: -0');
- }
-}
-
- }
-});
-