Skip to content

Commit 1b95267

Browse files
authored
Apply suggestions from code review
1 parent e6f5b29 commit 1b95267

File tree

2 files changed

+11
-12
lines changed

2 files changed

+11
-12
lines changed

test/intl402/Temporal/ZonedDateTime/links.js

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -294,23 +294,23 @@ let epochNanoseconds = [
294294
new Temporal.PlainDate(2030, 1, 1).toZonedDateTime("UTC").epochNanoseconds,
295295
];
296296

297-
for (testCases of [asiaHistoricalTestCases,
298-
africaHistoricalTestCases,
299-
australasiaHistoricalTestCases,
300-
europeHistoricalTestCases,
301-
northAmericaHistoricalTestCases]) {
297+
for (const testCases of [asiaHistoricalTestCases,
298+
africaHistoricalTestCases,
299+
australasiaHistoricalTestCases,
300+
europeHistoricalTestCases,
301+
northAmericaHistoricalTestCases]) {
302302
for (let link of testCases) {
303303
const instanceLink = new Temporal.ZonedDateTime(0n, link);
304304
assert.sameValue(instanceLink.timeZoneId, link, `creating ZonedDateTime for ${link}`);
305305
}
306306
}
307307

308-
for (testCases of [asiaTestCases,
309-
africaTestCases,
310-
australasiaTestCases,
311-
europeTestCases,
312-
northAmericaTestCases,
313-
otherTestCases]) {
308+
for (const testCases of [asiaTestCases,
309+
africaTestCases,
310+
australasiaTestCases,
311+
europeTestCases,
312+
northAmericaTestCases,
313+
otherTestCases]) {
314314
for (let [link, zone] of Object.entries(testCases)) {
315315
const instanceLink = new Temporal.ZonedDateTime(0n, link);
316316
assert.sameValue(instanceLink.timeZoneId, link, `creating ZonedDateTime for ${link}`);

test/intl402/Temporal/ZonedDateTime/prototype/toString/timezone.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,4 @@ for (let id of Intl.supportedValuesOf("timeZone")) {
2020
let instance = new Temporal.ZonedDateTime(0n, id);
2121

2222
assert.sameValue(timeZoneId(instance), id);
23-
2423
}

0 commit comments

Comments
 (0)