diff options
Diffstat (limited to 'test/built-ins/RegExp/prototype/test/S15.10.6.3_A1_T8.js')
-rw-r--r-- | test/built-ins/RegExp/prototype/test/S15.10.6.3_A1_T8.js | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/test/built-ins/RegExp/prototype/test/S15.10.6.3_A1_T8.js b/test/built-ins/RegExp/prototype/test/S15.10.6.3_A1_T8.js index 7902bbd72..3380f6b60 100644 --- a/test/built-ins/RegExp/prototype/test/S15.10.6.3_A1_T8.js +++ b/test/built-ins/RegExp/prototype/test/S15.10.6.3_A1_T8.js @@ -11,12 +11,7 @@ description: > //CHECK#1 try { - $ERROR('#1.1: /[a-z]/.test({toString:void 0, valueOf:function(){throw "invalof";}}) throw "invalof". Actual: ' + (/[a-z]/.test({ - toString: void 0, - valueOf: function() { - throw "invalof"; - } - }))); + $ERROR('#1.1: /[a-z]/.test({toString:void 0, valueOf:function(){throw "invalof";}}) throw "invalof". Actual: ' + (/[a-z]/.test({toString:void 0, valueOf:function(){throw "invalof";}}))); } catch (e) { if (e !== "invalof") { $ERROR('#1.2: /[a-z]/.test({toString:void 0, valueOf:function(){throw "invalof";}}) throw "invalof". Actual: ' + (e)); |