summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/Proxy/revocable/revocation-function-not-a-constructor.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/tests/test262/built-ins/Proxy/revocable/revocation-function-not-a-constructor.js')
-rw-r--r--js/src/tests/test262/built-ins/Proxy/revocable/revocation-function-not-a-constructor.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/tests/test262/built-ins/Proxy/revocable/revocation-function-not-a-constructor.js b/js/src/tests/test262/built-ins/Proxy/revocable/revocation-function-not-a-constructor.js
index 643c7e57c2..40fdf658ea 100644
--- a/js/src/tests/test262/built-ins/Proxy/revocable/revocation-function-not-a-constructor.js
+++ b/js/src/tests/test262/built-ins/Proxy/revocable/revocation-function-not-a-constructor.js
@@ -23,7 +23,7 @@ assert.sameValue(
assert.sameValue(isConstructor(revocationFunction), false, 'isConstructor(revocationFunction) must return false');
assert.throws(TypeError, () => {
new revocationFunction();
-}, '`new revocationFunction()` throws TypeError');
+});