diff options
Diffstat (limited to 'test/built-ins/global/S10.2.3_A2.3_T1.js')
-rw-r--r-- | test/built-ins/global/S10.2.3_A2.3_T1.js | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/test/built-ins/global/S10.2.3_A2.3_T1.js b/test/built-ins/global/S10.2.3_A2.3_T1.js index aa5078240..1bdf92179 100644 --- a/test/built-ins/global/S10.2.3_A2.3_T1.js +++ b/test/built-ins/global/S10.2.3_A2.3_T1.js @@ -7,16 +7,16 @@ es5id: 10.2.3_A2.3_T1 description: Global execution context - Value Properties ---*/ -var evalStr = - '//CHECK#1\n' + - 'for (var x in this) {\n' + - ' if ( x === \'NaN\' ) {\n' + - ' $ERROR("#1: \'NaN\' have attribute DontEnum");\n' + - ' } else if ( x === \'Infinity\' ) {\n' + - ' $ERROR("#1: \'Infinity\' have attribute DontEnum");\n' + - ' } else if ( x === \'undefined\' ) {\n' + - ' $ERROR("#1: \'undefined\' have attribute DontEnum");\n' + - ' }\n' + - '}\n'; +var evalStr = +'//CHECK#1\n'+ +'for (var x in this) {\n'+ +' if ( x === \'NaN\' ) {\n'+ +' $ERROR("#1: \'NaN\' have attribute DontEnum");\n'+ +' } else if ( x === \'Infinity\' ) {\n'+ +' $ERROR("#1: \'Infinity\' have attribute DontEnum");\n'+ +' } else if ( x === \'undefined\' ) {\n'+ +' $ERROR("#1: \'undefined\' have attribute DontEnum");\n'+ +' }\n'+ +'}\n'; eval(evalStr); |