diff options
Diffstat (limited to 'test/suite/ch11/11.3/11.3.1/S11.3.1_A3_T2.js')
-rw-r--r-- | test/suite/ch11/11.3/11.3.1/S11.3.1_A3_T2.js | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/test/suite/ch11/11.3/11.3.1/S11.3.1_A3_T2.js b/test/suite/ch11/11.3/11.3.1/S11.3.1_A3_T2.js index 6b5560d1a..1d11733fe 100644 --- a/test/suite/ch11/11.3/11.3.1/S11.3.1_A3_T2.js +++ b/test/suite/ch11/11.3/11.3.1/S11.3.1_A3_T2.js @@ -1,12 +1,10 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * Operator x++ returns x = ToNumber(x) + 1 - * - * @path ch11/11.3/11.3.1/S11.3.1_A3_T2.js - * @description Type(x) is number primitive or Number object - */ +/*--- +info: Operator x++ returns x = ToNumber(x) + 1 +description: Type(x) is number primitive or Number object +---*/ //CHECK#1 var x = 0.1; @@ -21,4 +19,3 @@ x++; if (x !== -1.1 + 1) { $ERROR('#2: var x = new Number(-1.1); x++; x === -1.1 + 1. Actual: ' + (x)); } - |