From e9183d8b38a0e68a88e468e9e5c227497f1bfbaa Mon Sep 17 00:00:00 2001 From: Philip Chimento Date: Thu, 7 Nov 2024 13:16:57 -0800 Subject: [PATCH] Temporal: Fix name of constructor I mistakenly committed something slightly different in my code review suggestion than what I had modified locally. --- .../Duration/prototype/round/rounding-with-largestunit.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/intl402/Temporal/Duration/prototype/round/rounding-with-largestunit.js b/test/intl402/Temporal/Duration/prototype/round/rounding-with-largestunit.js index 43465b0e5c..f38fb4c1e0 100644 --- a/test/intl402/Temporal/Duration/prototype/round/rounding-with-largestunit.js +++ b/test/intl402/Temporal/Duration/prototype/round/rounding-with-largestunit.js @@ -9,7 +9,7 @@ features: [Temporal] // Based on a test case by Adam Shaw -const dur = new Temporal.Duration.from(0, 0, 0, 0, /* hours = */ 13, 0, 0, 0, 0, 0); +const dur = new Temporal.Duration(0, 0, 0, 0, /* hours = */ 13, 0, 0, 0, 0, 0); const zdt = new Temporal.ZonedDateTime(0n, "UTC"); TemporalHelpers.assertDuration(