mirror of https://github.com/tc39/test262.git
Add tests for TemporalInstantString with bracketed time zone annotation
This commit is contained in:
parent
b1f49b5c46
commit
f169ba6ec7
|
@ -37,6 +37,14 @@ const tests = [
|
|||
['1976-11-18T15:23:30+00', 217178610000000000n],
|
||||
['1976-11-18T15Z', 217177200000000000n],
|
||||
['1976-11-18T15:23:30.123456789Z[u-ca=discord]', 217178610123456789n],
|
||||
['1976-11-18T15:23:30.123456789Z[+00]', 217178610123456789n],
|
||||
['1976-11-18T15:23:30.123456789Z[+00:00]', 217178610123456789n],
|
||||
['1976-11-18T15:23:30.123456789Z[-00]', 217178610123456789n],
|
||||
['1976-11-18T15:23:30.123456789Z[-00:00]', 217178610123456789n],
|
||||
['1976-11-18T15:23:30.123456789Z[+12]', 217178610123456789n],
|
||||
['1976-11-18T15:23:30.123456789Z[UTC]', 217178610123456789n],
|
||||
['1976-11-18T15:23:30.123456789Z[Europe/Paris]', 217178610123456789n],
|
||||
['1976-11-18T15:23:30.123456789Z[NotATimeZone]', 217178610123456789n],
|
||||
];
|
||||
|
||||
for (const [arg, expected] of tests) {
|
||||
|
|
Loading…
Reference in New Issue