summaryrefslogtreecommitdiff
path: root/test/built-ins/RegExp/S15.10.4.1_A5_T4.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/RegExp/S15.10.4.1_A5_T4.js')
-rw-r--r--test/built-ins/RegExp/S15.10.4.1_A5_T4.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/built-ins/RegExp/S15.10.4.1_A5_T4.js b/test/built-ins/RegExp/S15.10.4.1_A5_T4.js
index 4949563ed..5cb04e03a 100644
--- a/test/built-ins/RegExp/S15.10.4.1_A5_T4.js
+++ b/test/built-ins/RegExp/S15.10.4.1_A5_T4.js
@@ -11,9 +11,9 @@ description: Checking if using "z" as F leads to throwing the correct exception
//CHECK#1
try {
- $ERROR('#1.1: new RegExp("a|b","z") throw SyntaxError. Actual: ' + (new RegExp("a|b","z")));
+ $ERROR('#1.1: new RegExp("a|b","z") throw SyntaxError. Actual: ' + (new RegExp("a|b", "z")));
} catch (e) {
- if ((e instanceof SyntaxError) !== true) {
- $ERROR('#1.2: new RegExp("a|b","z") throw SyntaxError. Actual: ' + (e));
- }
+ if ((e instanceof SyntaxError) !== true) {
+ $ERROR('#1.2: new RegExp("a|b","z") throw SyntaxError. Actual: ' + (e));
+ }
}