mirror of https://github.com/tc39/test262.git
harness/asyncHelpers.js: Fix an assert.throwsAsync failure message typo
This commit is contained in:
parent
0631e2111b
commit
b87eaf9ac3
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue