Pass arguments in PlainYearMonth constructor test.

The arguments are required, so this should make the test more robust.
This commit is contained in:
Ms2ger 2022-01-25 11:15:05 +01:00 committed by Rick Waldron
parent ffae81a3f6
commit 543c8ee938
1 changed files with 1 additions and 1 deletions

View File

@ -9,4 +9,4 @@ info: |
features: [Temporal]
---*/
assert.throws(TypeError, () => Temporal.PlainYearMonth());
assert.throws(TypeError, () => Temporal.PlainYearMonth(1970, 1));