diff --git a/test/built-ins/Temporal/PlainYearMonth/constructor.js b/test/built-ins/Temporal/PlainYearMonth/constructor.js index eee25f7bff..67cf5b44b3 100644 --- a/test/built-ins/Temporal/PlainYearMonth/constructor.js +++ b/test/built-ins/Temporal/PlainYearMonth/constructor.js @@ -9,4 +9,4 @@ info: | features: [Temporal] ---*/ -assert.throws(TypeError, () => Temporal.PlainYearMonth()); +assert.throws(TypeError, () => Temporal.PlainYearMonth(1970, 1));