diff options
Diffstat (limited to 'test/built-ins/RegExp/prototype/test/S15.10.6.3_A1_T12.js')
-rw-r--r-- | test/built-ins/RegExp/prototype/test/S15.10.6.3_A1_T12.js | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/test/built-ins/RegExp/prototype/test/S15.10.6.3_A1_T12.js b/test/built-ins/RegExp/prototype/test/S15.10.6.3_A1_T12.js index bfe91eaea..40e81bc40 100644 --- a/test/built-ins/RegExp/prototype/test/S15.10.6.3_A1_T12.js +++ b/test/built-ins/RegExp/prototype/test/S15.10.6.3_A1_T12.js @@ -9,14 +9,10 @@ description: > Math.PI;}} ---*/ -var __string = { - toString: function() { - return Math.PI; - } -}; +var __string = {toString:function(){return Math.PI;}}; var __re = /\.14/; //CHECK#0 if (__re.test(__string) !== (__re.exec(__string) !== null)) { - $ERROR('#0: var __string = {toString:function(){return Math.PI;}}; __re = /\\.14/; __re.test(__string) === (__re.exec(__string) !== null)'); + $ERROR('#0: var __string = {toString:function(){return Math.PI;}}; __re = /\\.14/; __re.test(__string) === (__re.exec(__string) !== null)'); } |