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:
Tim Chevalier 2025-11-12 13:16:08 -08:00 committed by Ms2ger
parent 77b8a16b2f
commit 0186d50ba0

View File

@ -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 });
} }
} }