diff options
Diffstat (limited to 'test/built-ins/RegExp/prototype/exec/S15.10.6.2_A2_T9.js')
-rw-r--r-- | test/built-ins/RegExp/prototype/exec/S15.10.6.2_A2_T9.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A2_T9.js b/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A2_T9.js index f71557bf6..5ee95865a 100644 --- a/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A2_T9.js +++ b/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A2_T9.js @@ -15,9 +15,9 @@ Object.prototype.exec = RegExp.prototype.exec; //CHECK#1 try { - $ERROR('#1.1: __instance = 1.0; Object.prototype.exec = RegExp.prototype.exec; __instance.exec("message to investigate"). Actual: ' + (__instance.exec("message to investigate"))); + $ERROR('#1.1: __instance = 1.0; Object.prototype.exec = RegExp.prototype.exec; __instance.exec("message to investigate"). Actual: ' + (__instance.exec("message to investigate"))); } catch (e) { - if ((e instanceof TypeError) !== true) { - $ERROR('#1.2: __instance = 1.0; Object.prototype.exec = RegExp.prototype.exec; __instance.exec("message to investigate"). Actual: ' + (e)); - } + if ((e instanceof TypeError) !== true) { + $ERROR('#1.2: __instance = 1.0; Object.prototype.exec = RegExp.prototype.exec; __instance.exec("message to investigate"). Actual: ' + (e)); + } } |