aboutsummaryrefslogtreecommitdiffstats
path: root/test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A4_T4.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A4_T4.js')
-rw-r--r--test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A4_T4.js40
1 files changed, 0 insertions, 40 deletions
diff --git a/test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A4_T4.js b/test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A4_T4.js
deleted file mode 100644
index c31a5f87b..000000000
--- a/test/suite/sputnik_converted/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A4_T4.js
+++ /dev/null
@@ -1,40 +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.3.1_A4_T4;
-* @section: 11.3.1, 11.6.3;
-* @assertion: Operator x++ returns ToNumber(x);
-* @description: Type(x) is undefined or null;
-*/
-
-
-// Converted for Test262 from original Sputnik source
-
-ES5Harness.registerTest( {
-id: "S11.3.1_A4_T4",
-
-path: "TestCases/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A4_T4.js",
-
-assertion: "Operator x++ returns ToNumber(x)",
-
-description: "Type(x) is undefined or null",
-
-test: function testcase() {
- //CHECK#1
-var x;
-var y = x++;
-if (isNaN(y) !== true) {
- $ERROR('#1: var x; var y = x++; y === Not-a-Number. Actual: ' + (y));
-}
-
-//CHECK#2
-var x = null;
-var y = x++;
-if (y !== 0) {
- $ERROR('#2: var x = null; var y = x++; y === 0. Actual: ' + (y));
-}
-
- }
-});
-