mirror of
https://github.com/tc39/test262.git
synced 2025-07-24 22:45:10 +02:00
Fix buggy error message
This commit is contained in:
parent
918cefcd09
commit
ecd24faa82
@ -25,7 +25,7 @@ Object.entries(instances).forEach(([typeName, instance]) => {
|
|||||||
assert.throws(
|
assert.throws(
|
||||||
TypeError,
|
TypeError,
|
||||||
() => { us.formatRange(instance, anotherInstance); },
|
() => { us.formatRange(instance, anotherInstance); },
|
||||||
'different types argument is bad (' + typeName + ' and ' + anotherTypeName
|
'formatRange: bad arguments (' + typeName + ' and ' + anotherTypeName + ')'
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user