diff options
Diffstat (limited to 'js/src/tests/test262/built-ins/Date/prototype/toJSON')
-rw-r--r-- | js/src/tests/test262/built-ins/Date/prototype/toJSON/not-a-constructor.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/tests/test262/built-ins/Date/prototype/toJSON/not-a-constructor.js b/js/src/tests/test262/built-ins/Date/prototype/toJSON/not-a-constructor.js index df5faff002..9616f636d7 100644 --- a/js/src/tests/test262/built-ins/Date/prototype/toJSON/not-a-constructor.js +++ b/js/src/tests/test262/built-ins/Date/prototype/toJSON/not-a-constructor.js @@ -29,7 +29,7 @@ assert.sameValue( assert.throws(TypeError, () => { let date = new Date(Date.now()); new date.toJSON(); -}, '`let date = new Date(Date.now()); new date.toJSON()` throws TypeError'); +}); reportCompare(0, 0); |