diff options
Diffstat (limited to 'test/built-ins/global/S10.2.3_A2.2_T3.js')
-rw-r--r-- | test/built-ins/global/S10.2.3_A2.2_T3.js | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/test/built-ins/global/S10.2.3_A2.2_T3.js b/test/built-ins/global/S10.2.3_A2.2_T3.js index ec0482d2a..ee17f77c4 100644 --- a/test/built-ins/global/S10.2.3_A2.2_T3.js +++ b/test/built-ins/global/S10.2.3_A2.2_T3.js @@ -11,37 +11,37 @@ flags: [noStrict] function test() { //CHECK#1 for (var x in this) { - if ( x === 'Object' ) { + if (x === 'Object') { $ERROR("#1: 'property 'Object' have attribute DontEnum"); - } else if ( x === 'Function') { + } else if (x === 'Function') { $ERROR("#1: 'Function' have attribute DontEnum"); - } else if ( x === 'String' ) { + } else if (x === 'String') { $ERROR("#1: 'String' have attribute DontEnum"); - } else if ( x === 'Number' ) { + } else if (x === 'Number') { $ERROR("#1: 'Number' have attribute DontEnum"); - } else if ( x === 'Array' ) { + } else if (x === 'Array') { $ERROR("#1: 'Array' have attribute DontEnum"); - } else if ( x === 'Boolean' ) { + } else if (x === 'Boolean') { $ERROR("#1: 'Boolean' have attribute DontEnum"); - } else if ( x === 'Date' ) { + } else if (x === 'Date') { $ERROR("#1: 'Date' have attribute DontEnum"); - } else if ( x === 'RegExp' ) { + } else if (x === 'RegExp') { $ERROR("#1: 'RegExp' have attribute DontEnum"); - } else if ( x === 'Error' ) { + } else if (x === 'Error') { $ERROR("#1: 'Error' have attribute DontEnum"); - } else if ( x === 'EvalError' ) { + } else if (x === 'EvalError') { $ERROR("#1: 'EvalError' have attribute DontEnum"); - } else if ( x === 'RangeError' ) { + } else if (x === 'RangeError') { $ERROR("#1: 'RangeError' have attribute DontEnum"); - } else if ( x === 'ReferenceError' ) { + } else if (x === 'ReferenceError') { $ERROR("#1: 'ReferenceError' have attribute DontEnum"); - } else if ( x === 'SyntaxError' ) { + } else if (x === 'SyntaxError') { $ERROR("#1: 'SyntaxError' have attribute DontEnum"); - } else if ( x === 'TypeError' ) { + } else if (x === 'TypeError') { $ERROR("#1: 'TypeError' have attribute DontEnum"); - } else if ( x === 'URIError' ) { + } else if (x === 'URIError') { $ERROR("#1: 'URIError' have attribute DontEnum"); - } + } } } |