diff options
Diffstat (limited to 'test/built-ins/RegExp/S15.10.1_A1_T15.js')
-rw-r--r-- | test/built-ins/RegExp/S15.10.1_A1_T15.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/built-ins/RegExp/S15.10.1_A1_T15.js b/test/built-ins/RegExp/S15.10.1_A1_T15.js index 246027320..f114cbe20 100644 --- a/test/built-ins/RegExp/S15.10.1_A1_T15.js +++ b/test/built-ins/RegExp/S15.10.1_A1_T15.js @@ -9,9 +9,9 @@ description: Tested RegExp is "x{1,}{1}" //CHECK#1 try { - $ERROR('#1.1: new RegExp("x{1,}{1}") throw SyntaxError. Actual: ' + (new RegExp("x{1,}{1}"))); + $ERROR('#1.1: new RegExp("x{1,}{1}") throw SyntaxError. Actual: ' + (new RegExp("x{1,}{1}"))); } catch (e) { - if ((e instanceof SyntaxError) !== true) { - $ERROR('#1.2: new RegExp("x{1,}{1}") throw SyntaxError. Actual: ' + (e)); - } + if ((e instanceof SyntaxError) !== true) { + $ERROR('#1.2: new RegExp("x{1,}{1}") throw SyntaxError. Actual: ' + (e)); + } } |