diff options
Diffstat (limited to 'test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A4_T1.js')
-rw-r--r-- | test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A4_T1.js | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A4_T1.js b/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A4_T1.js deleted file mode 100644 index c3a489193..000000000 --- a/test/suite/sputnik_converted/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A4_T1.js +++ /dev/null @@ -1,38 +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.5_A4_T1;
-* @section: 11.4.5, 11.6.3;
-* @assertion: Operator --x returns ToNumber(x) - 1;
-* @description: Type(x) is boolean primitive or Boolean object;
-*/
-
-
-// Converted for Test262 from original Sputnik source
-
-ES5Harness.registerTest( {
-id: "S11.4.5_A4_T1",
-
-path: "TestCases/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A4_T1.js",
-
-assertion: "Operator --x returns ToNumber(x) - 1",
-
-description: "Type(x) is boolean primitive or Boolean object",
-
-test: function testcase() {
- //CHECK#1
-var x = true;
-if (--x !== 1 - 1) {
- $ERROR('#1: var x = true; --x === 1 - 1. Actual: ' + (--x));
-}
-
-//CHECK#2
-var x = new Boolean(false);
-if (--x !== 0 - 1) {
- $ERROR('#2: var x = new Boolean(false); --x === 0 - 1. Actual: ' + (--x));
-}
-
- }
-});
-
|