summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/Function/prototype/apply/not-a-constructor.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/tests/test262/built-ins/Function/prototype/apply/not-a-constructor.js')
-rw-r--r--js/src/tests/test262/built-ins/Function/prototype/apply/not-a-constructor.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/src/tests/test262/built-ins/Function/prototype/apply/not-a-constructor.js b/js/src/tests/test262/built-ins/Function/prototype/apply/not-a-constructor.js
index 43275e54f0..8adbf6bce4 100644
--- a/js/src/tests/test262/built-ins/Function/prototype/apply/not-a-constructor.js
+++ b/js/src/tests/test262/built-ins/Function/prototype/apply/not-a-constructor.js
@@ -29,10 +29,10 @@ assert.sameValue(
assert.throws(TypeError, () => {
new Function.prototype.apply;
-}, '`new Function.prototype.apply` throws TypeError');
+});
assert.throws(TypeError, () => {
new Function.prototype.apply();
-}, '`new Function.prototype.apply()` throws TypeError');
+});
reportCompare(0, 0);