harness/asyncHelpers.js: Fix an assert.throwsAsync failure message typo

This commit is contained in:
Richard Gibson 2024-05-19 13:26:31 -04:00
parent 0631e2111b
commit b87eaf9ac3
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ assert.throwsAsync = function (expectedErrorConstructor, func, message) {
typeof innerThenable.then !== "function"
) {
message +=
"Expected to obtain an inner promise that would reject with a" +
"Expected to obtain an inner promise that would reject with a " +
expectedErrorConstructor.name +
" but result was not a thenable";
throw new Test262Error(message);