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,
|
||||
function (e) {
|
||||
assert.sameValue(e.constructor, TypeError,
|
||||
"expeted TypeError from calling " +
|
||||
"uncallableAndIsHTMLDDA() value");
|
||||
"expected TypeError from calling " +
|
||||
"uncallableAndIsHTMLDDA() value: " + e);
|
||||
})
|
||||
.then($DONE, $DONE);
|
||||
|
|
Loading…
Reference in New Issue