aboutsummaryrefslogtreecommitdiffstats
path: root/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A3_T3.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A3_T3.js')
-rw-r--r--test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A3_T3.js51
1 files changed, 0 insertions, 51 deletions
diff --git a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A3_T3.js b/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A3_T3.js
deleted file mode 100644
index d98faf87d..000000000
--- a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A3_T3.js
+++ /dev/null
@@ -1,51 +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.9_A3_T3;
-* @section: 11.4.9;
-* @assertion: Operator !x returns !ToBoolean(x);
-* @description: Type(x) is string primitive or String object;
-*/
-
-
-// Converted for Test262 from original Sputnik source
-
-ES5Harness.registerTest( {
-id: "S11.4.9_A3_T3",
-
-path: "TestCases/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A3_T3.js",
-
-assertion: "Operator !x returns !ToBoolean(x)",
-
-description: "Type(x) is string primitive or String object",
-
-test: function testcase() {
- //CHECK#1
-if (!"1" !== false) {
- $ERROR('#1: !"1" === false');
-}
-
-//CHECK#2
-if (!new String("0") !== false) {
- $ERROR('#2: !new String("0") === false');
-}
-
-//CHECK#3
-if (!"x" !== false) {
- $ERROR('#3: !"x" === false');
-}
-
-//CHECK#4
-if (!"" !== true) {
- $ERROR('#4: !"" === true');
-}
-
-//CHECK#5
-if (!new String("") !== false) {
- $ERROR('#5: !new String("") === false');
-}
-
- }
-});
-