mirror of https://github.com/tc39/test262.git
Fix a minor error-message typo, and include the thrown error in the TypeError-testing error message.
This commit is contained in:
parent
883c505648
commit
99ee383d3f
|
@ -28,7 +28,7 @@ async function f() {
|
||||||
f().then($DONE,
|
f().then($DONE,
|
||||||
function (e) {
|
function (e) {
|
||||||
assert.sameValue(e.constructor, TypeError,
|
assert.sameValue(e.constructor, TypeError,
|
||||||
"expeted TypeError from calling " +
|
"expected TypeError from calling " +
|
||||||
"uncallableAndIsHTMLDDA() value");
|
"uncallableAndIsHTMLDDA() value: " + e);
|
||||||
})
|
})
|
||||||
.then($DONE, $DONE);
|
.then($DONE, $DONE);
|
||||||
|
|
Loading…
Reference in New Issue