mirror of
https://github.com/tc39/test262.git
synced 2025-11-24 07:33:08 +01:00
Update assert failure messages
This commit is contained in:
parent
0c89259da5
commit
94cb047ab8
@ -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.`
|
||||
);
|
||||
});
|
||||
|
||||
@ -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.`
|
||||
);
|
||||
});
|
||||
|
||||
@ -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.`
|
||||
);
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user