diff --git a/test/built-ins/Error/prototype/S15.11.4_A3.js b/test/built-ins/Error/prototype/S15.11.4_A3.js index 42dfdbe1c4..80a212b1e7 100644 --- a/test/built-ins/Error/prototype/S15.11.4_A3.js +++ b/test/built-ins/Error/prototype/S15.11.4_A3.js @@ -7,7 +7,7 @@ es5id: 15.11.4_A3 description: Checking if call of Error prototype as a function fails ---*/ -asserts.throws(TypeError, () => { +assert.throws(TypeError, () => { Error.prototype(); throw new Test262Error(); }); 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 bbfc0f57c9..1b734cfce0 100644 --- a/test/built-ins/Error/prototype/S15.11.4_A4.js +++ b/test/built-ins/Error/prototype/S15.11.4_A4.js @@ -7,7 +7,7 @@ es5id: 15.11.4_A4 description: Checking if creating "new Error.prototype" fails ---*/ -asserts.throws(TypeError, () => { +assert.throws(TypeError, () => { new Error.prototype(); throw new Test262Error(); });