mirror of
https://github.com/tc39/test262.git
synced 2025-11-15 03:09:41 +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 arg of validStringsForOffsetUseIgnore) {
|
||||
Temporal.ZonedDateTime.from(arg, { offset: "use" });
|
||||
Temporal.ZonedDateTime.from(arg, { offset });
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user