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