summaryrefslogtreecommitdiff
path: root/test/built-ins/RegExp/S15.10.3.1_A2_T1.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/RegExp/S15.10.3.1_A2_T1.js')
-rw-r--r--test/built-ins/RegExp/S15.10.3.1_A2_T1.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/built-ins/RegExp/S15.10.3.1_A2_T1.js b/test/built-ins/RegExp/S15.10.3.1_A2_T1.js
index b4af65a7d..61e7e6874 100644
--- a/test/built-ins/RegExp/S15.10.3.1_A2_T1.js
+++ b/test/built-ins/RegExp/S15.10.3.1_A2_T1.js
@@ -13,9 +13,9 @@ description: >
//CHECK#1
try {
- $ERROR('#1.1: RegExp(new RegExp("\\d"), "1")) throw SyntaxError. Actual: ' + (RegExp(new RegExp("\d"), "1")));
+ $ERROR('#1.1: RegExp(new RegExp("\\d"), "1")) throw SyntaxError. Actual: ' + (RegExp(new RegExp("\d"), "1")));
} catch (e) {
- if ((e instanceof SyntaxError) !== true) {
- $ERROR('#1.2: RegExp(new RegExp("\\d"), "1")) throw SyntaxError. Actual: ' + (e));
- }
+ if ((e instanceof SyntaxError) !== true) {
+ $ERROR('#1.2: RegExp(new RegExp("\\d"), "1")) throw SyntaxError. Actual: ' + (e));
+ }
}