diff --git a/test/language/expressions/dynamic-import/assign-expr/yield-assign-expr.js b/test/language/expressions/dynamic-import/assign-expr/yield-assign-expr.js index 2a87e84ba3..be3749f82a 100644 --- a/test/language/expressions/dynamic-import/assign-expr/yield-assign-expr.js +++ b/test/language/expressions/dynamic-import/assign-expr/yield-assign-expr.js @@ -26,7 +26,7 @@ function *g() { return import(yield 42); } -async function *fn() { +async function fn() { let iter = g(); assert.sameValue(iter.next().value, 42); @@ -44,4 +44,4 @@ async function *fn() { assert.sameValue(ns2.default, 1612); } -fn().next(a).then($DONE, $DONE).catch($DONE); +fn().then($DONE, $DONE).catch($DONE); diff --git a/test/language/expressions/dynamic-import/assign-expr/yield-expr.js b/test/language/expressions/dynamic-import/assign-expr/yield-expr.js index 8a4bd35b2e..655b58ce99 100644 --- a/test/language/expressions/dynamic-import/assign-expr/yield-expr.js +++ b/test/language/expressions/dynamic-import/assign-expr/yield-expr.js @@ -26,7 +26,7 @@ function *g() { return import(yield); } -async function *fn() { +async function fn() { let iter = g(); iter.next(); @@ -44,4 +44,4 @@ async function *fn() { assert.sameValue(ns2.default, 1612); } -fn().next(a).then($DONE, $DONE).catch($DONE); +fn().then($DONE, $DONE).catch($DONE);