diff options
Diffstat (limited to 'test/built-ins/RegExp/S15.10.4.1_A5_T1.js')
-rw-r--r-- | test/built-ins/RegExp/S15.10.4.1_A5_T1.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/built-ins/RegExp/S15.10.4.1_A5_T1.js b/test/built-ins/RegExp/S15.10.4.1_A5_T1.js index 8aebbec67..70882c2cb 100644 --- a/test/built-ins/RegExp/S15.10.4.1_A5_T1.js +++ b/test/built-ins/RegExp/S15.10.4.1_A5_T1.js @@ -11,9 +11,9 @@ description: Checking if using "ii" as F leads to throwing the correct exception //CHECK#1 try { - $ERROR('#1.1: new RegExp(undefined,"ii") throw SyntaxError. Actual: ' + (new RegExp(undefined,"ii"))); + $ERROR('#1.1: new RegExp(undefined,"ii") throw SyntaxError. Actual: ' + (new RegExp(undefined, "ii"))); } catch (e) { - if ((e instanceof SyntaxError) !== true) { - $ERROR('#1.2: new RegExp(undefined,"ii") throw SyntaxError. Actual: ' + (e)); - } + if ((e instanceof SyntaxError) !== true) { + $ERROR('#1.2: new RegExp(undefined,"ii") throw SyntaxError. Actual: ' + (e)); + } } |