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 dc2fc2499b..0461728772 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 291b51a648..1a018086d8 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 ab9ae97124..cfc53e2858 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);