summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/GeneratorPrototype/return/not-a-constructor.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/tests/test262/built-ins/GeneratorPrototype/return/not-a-constructor.js')
-rw-r--r--js/src/tests/test262/built-ins/GeneratorPrototype/return/not-a-constructor.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/tests/test262/built-ins/GeneratorPrototype/return/not-a-constructor.js b/js/src/tests/test262/built-ins/GeneratorPrototype/return/not-a-constructor.js
index 4c0f2b56b8..424ee0bc22 100644
--- a/js/src/tests/test262/built-ins/GeneratorPrototype/return/not-a-constructor.js
+++ b/js/src/tests/test262/built-ins/GeneratorPrototype/return/not-a-constructor.js
@@ -29,7 +29,7 @@ assert.sameValue(
assert.throws(TypeError, () => {
function* g() {} let iterator = g(); new iterator.return();
-}, '`function* g() {} let iterator = g(); new iterator.return()` throws TypeError');
+});
reportCompare(0, 0);