summaryrefslogtreecommitdiff
path: root/test/built-ins/RegExp/S15.10.1_A1_T3.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/RegExp/S15.10.1_A1_T3.js')
-rw-r--r--test/built-ins/RegExp/S15.10.1_A1_T3.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/built-ins/RegExp/S15.10.1_A1_T3.js b/test/built-ins/RegExp/S15.10.1_A1_T3.js
index 5d3eb8afa..3a10610e2 100644
--- a/test/built-ins/RegExp/S15.10.1_A1_T3.js
+++ b/test/built-ins/RegExp/S15.10.1_A1_T3.js
@@ -9,9 +9,9 @@ description: Tested RegExp is "a++"
//CHECK#1
try {
- $ERROR('#1.1: new RegExp("a++") throw SyntaxError. Actual: ' + (new RegExp("a++")));
+ $ERROR('#1.1: new RegExp("a++") throw SyntaxError. Actual: ' + (new RegExp("a++")));
} catch (e) {
- if ((e instanceof SyntaxError) !== true) {
- $ERROR('#1.2: new RegExp("a++") throw SyntaxError. Actual: ' + (e));
- }
+ if ((e instanceof SyntaxError) !== true) {
+ $ERROR('#1.2: new RegExp("a++") throw SyntaxError. Actual: ' + (e));
+ }
}