aboutsummaryrefslogtreecommitdiffstats
path: root/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A3_T5.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A3_T5.js')
-rw-r--r--test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A3_T5.js36
1 files changed, 0 insertions, 36 deletions
diff --git a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A3_T5.js b/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A3_T5.js
deleted file mode 100644
index 422044cf6..000000000
--- a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A3_T5.js
+++ /dev/null
@@ -1,36 +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.4.6_A3_T5;
-* @section: 11.4.6;
-* @assertion: Operator +x returns ToNumber(x);
-* @description: Type(x) is Object object or Function object;
-*/
-
-
-// Converted for Test262 from original Sputnik source
-
-ES5Harness.registerTest( {
-id: "S11.4.6_A3_T5",
-
-path: "TestCases/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A3_T5.js",
-
-assertion: "Operator +x returns ToNumber(x)",
-
-description: "Type(x) is Object object or Function object",
-
-test: function testcase() {
- //CHECK#1
-if (isNaN(+{}) !== true) {
- $ERROR('#1: +{} === Not-a-Number. Actual: ' + (+{}));
-}
-
-//CHECK#2
-if (isNaN(+function(){return 1}) !== true) {
- $ERROR('#2: +function(){return 1} === Not-a-Number. Actual: ' + (+function(){return 1}));
-}
-
- }
-});
-