Update assert failure messages

This commit is contained in:
Ujjwal Sharma 2018-09-19 00:17:28 +05:30 committed by Rick Waldron
parent 0c89259da5
commit 94cb047ab8
3 changed files with 3 additions and 3 deletions

View File

@ -16,6 +16,6 @@ invalidTargets.forEach(target => {
assert.throws(
TypeError,
() => fn.call(target),
`Calling format getter on ${target} was not rejected.`
`Calling format getter on ${target} should throw a TypeError.`
);
});

View File

@ -16,6 +16,6 @@ invalidTargets.forEach(target => {
assert.throws(
TypeError,
() => fn.call(target),
`Calling formatToParts on ${target} was not rejected.`
`Calling formatToParts on ${target} should throw a TypeError.`
);
});

View File

@ -16,6 +16,6 @@ invalidTargets.forEach(target => {
assert.throws(
TypeError,
() => fn.call(target),
`Calling resolvedOptions on ${target} was not rejected.`
`Calling resolvedOptions on ${target} should throw a TypeError.`
);
});