diff --git a/src/dstr-binding-for-await/error/for-await-of-async-func-const.template b/src/dstr-binding-for-await/error/for-await-of-async-func-const.template index dc2fc2499b11c913fd6e5a0322eb00959493c2e1..046172877221b79990497bb56eaa3fac9d0591ba 100644 --- a/src/dstr-binding-for-await/error/for-await-of-async-func-const.template +++ b/src/dstr-binding-for-await/error/for-await-of-async-func-const.template @@ -43,6 +43,11 @@ async function fn() { } fn() - .then(_ => { throw new Test262Error("Expected async function to reject, but resolved."); }, ({ constructor }) => assert.sameValue(constructor, /*{ error }*/)) + .then(_ => { + throw new Test262Error("Expected async function to reject, but resolved."); + }, ({ constructor }) => { + assert.sameValue(constructor, /*{ error }*/); + /*{ rejectBody }*/ + }) .then($DONE, $DONE); diff --git a/src/dstr-binding-for-await/error/for-await-of-async-func-let.template b/src/dstr-binding-for-await/error/for-await-of-async-func-let.template index 291b51a6480c652c20b1888be8a3feff9a08f36a..1a018086d867084866ce4437e2a87e33e921fe53 100644 --- a/src/dstr-binding-for-await/error/for-await-of-async-func-let.template +++ b/src/dstr-binding-for-await/error/for-await-of-async-func-let.template @@ -43,6 +43,11 @@ async function fn() { } fn() - .then(_ => { throw new Test262Error("Expected async function to reject, but resolved."); }, ({ constructor }) => assert.sameValue(constructor, /*{ error }*/)) + .then(_ => { + throw new Test262Error("Expected async function to reject, but resolved."); + }, ({ constructor }) => { + assert.sameValue(constructor, /*{ error }*/); + /*{ rejectBody }*/ + }) .then($DONE, $DONE); diff --git a/src/dstr-binding-for-await/error/for-await-of-async-func-var.template b/src/dstr-binding-for-await/error/for-await-of-async-func-var.template index ab9ae97124bb250ca8ea982adff91bdb8a4a5965..cfc53e2858341307af9853b5856dcef6201f5a6c 100644 --- a/src/dstr-binding-for-await/error/for-await-of-async-func-var.template +++ b/src/dstr-binding-for-await/error/for-await-of-async-func-var.template @@ -43,5 +43,10 @@ async function fn() { } fn() - .then(_ => { throw new Test262Error("Expected async function to reject, but resolved."); }, ({ constructor }) => assert.sameValue(constructor, /*{ error }*/)) + .then(_ => { + throw new Test262Error("Expected async function to reject, but resolved."); + }, ({ constructor }) => { + assert.sameValue(constructor, /*{ error }*/); + /*{ rejectBody }*/ + }) .then($DONE, $DONE);