Fix a minor error-message typo, and include the thrown error in the TypeError-testing error message.

This commit is contained in:
Jeff Walden 2017-10-18 12:20:37 -07:00 committed by Rick Waldron
parent 883c505648
commit 99ee383d3f
1 changed files with 2 additions and 2 deletions

View File

@ -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);