diff options
Diffstat (limited to 'js/src/tests/test262/built-ins/Promise/allSettled')
-rw-r--r-- | js/src/tests/test262/built-ins/Promise/allSettled/not-a-constructor.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/tests/test262/built-ins/Promise/allSettled/not-a-constructor.js b/js/src/tests/test262/built-ins/Promise/allSettled/not-a-constructor.js index 98dc3d6401..4da60aa86b 100644 --- a/js/src/tests/test262/built-ins/Promise/allSettled/not-a-constructor.js +++ b/js/src/tests/test262/built-ins/Promise/allSettled/not-a-constructor.js @@ -25,7 +25,7 @@ assert.sameValue(isConstructor(Promise.allSettled), false, 'isConstructor(Promis assert.throws(TypeError, () => { new Promise.allSettled(); -}, '`new Promise.allSettled()` throws TypeError'); +}); reportCompare(0, 0); |