diff options
Diffstat (limited to 'test/built-ins/Error/prototype/S15.11.4_A4.js')
-rw-r--r-- | test/built-ins/Error/prototype/S15.11.4_A4.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/built-ins/Error/prototype/S15.11.4_A4.js b/test/built-ins/Error/prototype/S15.11.4_A4.js index 354fd7802..751033a83 100644 --- a/test/built-ins/Error/prototype/S15.11.4_A4.js +++ b/test/built-ins/Error/prototype/S15.11.4_A4.js @@ -10,10 +10,10 @@ description: Checking if creating "new Error.prototype" fails ////////////////////////////////////////////////////////////////////////////// //CHECK#1 try { - var __instance = new Error.prototype; - $ERROR('#1: "var __instance = new Error.prototype" lead to throwing exception'); + var __instance = new Error.prototype; + $ERROR('#1: "var __instance = new Error.prototype" lead to throwing exception'); } catch (e) { - if (e instanceof Test262Error) throw e; + if (e instanceof Test262Error) throw e; } // ////////////////////////////////////////////////////////////////////////////// |