From 2576b650af8e0e7c62cba3a66516635b8cbdd543 Mon Sep 17 00:00:00 2001 From: Frank Yung-Fong Tang Date: Fri, 17 Sep 2021 12:34:01 -0700 Subject: [PATCH] fix the checking --- .../Temporal/Now/zonedDateTime/timezone-string-datetime.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/built-ins/Temporal/Now/zonedDateTime/timezone-string-datetime.js b/test/built-ins/Temporal/Now/zonedDateTime/timezone-string-datetime.js index ef03b4fd61..0862114c8c 100644 --- a/test/built-ins/Temporal/Now/zonedDateTime/timezone-string-datetime.js +++ b/test/built-ins/Temporal/Now/zonedDateTime/timezone-string-datetime.js @@ -25,6 +25,6 @@ assert.sameValue(result4.timeZone.id, "-07:00", "date-time + offset is the offse timeZone = "2021-08-19T17:30-0700"; const result5 = Temporal.Now.zonedDateTime("iso8601", timeZone); -assert.sameValue(result3.timeZone.id, "-07:00", "date-time + offset is the offset time zone"); +assert.sameValue(result5.timeZone.id, "-07:00", "date-time + offset is the offset time zone"); const result6 = Temporal.Now.zonedDateTime("iso8601", { timeZone }); -assert.sameValue(result4.timeZone.id, "-07:00", "date-time + offset is the offset time zone (string in property bag)"); +assert.sameValue(result6.timeZone.id, "-07:00", "date-time + offset is the offset time zone (string in property bag)");