Move test to a more sensible location

Also, use a more sensible ID as well. Add another test (for
Date values).
This commit is contained in:
Jesse Alama 2022-02-23 11:07:40 +01:00 committed by Rick Waldron
parent ecd24faa82
commit 10f9a69295
1 changed files with 3 additions and 2 deletions

View File

@ -2,8 +2,8 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-temporal.instant
description: formatRange fails if given arguments of different types
esid: sec-intl.datetimeformat.prototype.formatRange
description: formatRange fails if given arguments of different Temporal types
features: [Temporal]
---*/
@ -11,6 +11,7 @@ const us = new Intl.DateTimeFormat('en-US');
const instances = {
instant: new Temporal.Instant(0n),
number: new Date.UTC(2000, 5, 2),
plaindate: new Temporal.PlainDate(2000, 5, 2),
plaindatetime: new Temporal.PlainDateTime(2000, 5, 2, 12, 34, 56, 987, 654, 321),
plainmonthday: new Temporal.PlainMonthDay(5, 2),