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