mirror of
https://github.com/tc39/test262.git
synced 2025-11-15 11:19:44 +01:00
Temporal: Test both "use" and "ignore" offsets
This test was previously only testing the "use" offset option when testing valid strings.
This commit is contained in:
parent
77b8a16b2f
commit
0186d50ba0
@ -24,7 +24,7 @@ const validStringsForOffsetUseIgnore = [
|
|||||||
|
|
||||||
for (const offset of ["use", "ignore"]) {
|
for (const offset of ["use", "ignore"]) {
|
||||||
for (const arg of validStringsForOffsetUseIgnore) {
|
for (const arg of validStringsForOffsetUseIgnore) {
|
||||||
Temporal.ZonedDateTime.from(arg, { offset: "use" });
|
Temporal.ZonedDateTime.from(arg, { offset });
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user