summaryrefslogtreecommitdiff
path: root/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A2_T3.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/RegExp/prototype/exec/S15.10.6.2_A2_T3.js')
-rw-r--r--test/built-ins/RegExp/prototype/exec/S15.10.6.2_A2_T3.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A2_T3.js b/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A2_T3.js
index b7cbc10ff..ae0fefba1 100644
--- a/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A2_T3.js
+++ b/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A2_T3.js
@@ -14,11 +14,11 @@ __instance.exec = RegExp.prototype.exec;
//CHECK#1
try {
__instance.exec("message to investigate");
- $ERROR('#1.1: __instance.exec = RegExp.prototype.exec; __instance.exec("message to investigate"); function __instance(){}');
+ $ERROR('#1.1: __instance.exec = RegExp.prototype.exec; __instance.exec("message to investigate"); function __instance(){}');
} catch (e) {
- if ((e instanceof TypeError) !== true) {
- $ERROR('#1.2: __instance.exec = RegExp.prototype.exec; __instance.exec("message to investigate"); function __instance(){}. Actual: ' + (e));
- }
+ if ((e instanceof TypeError) !== true) {
+ $ERROR('#1.2: __instance.exec = RegExp.prototype.exec; __instance.exec("message to investigate"); function __instance(){}. Actual: ' + (e));
+ }
}
-function __instance() {};
+function __instance(){};