mirror of
https://github.com/tc39/test262.git
synced 2025-05-31 20:20:30 +02:00
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"
|
typeof innerThenable.then !== "function"
|
||||||
) {
|
) {
|
||||||
message +=
|
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 +
|
expectedErrorConstructor.name +
|
||||||
" but result was not a thenable";
|
" but result was not a thenable";
|
||||||
throw new Test262Error(message);
|
throw new Test262Error(message);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user