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