mirror of
https://github.com/tc39/test262.git
synced 2025-07-21 13:04:39 +02:00
Pass arguments in PlainYearMonth constructor test.
The arguments are required, so this should make the test more robust.
This commit is contained in:
parent
ffae81a3f6
commit
543c8ee938
@ -9,4 +9,4 @@ info: |
|
|||||||
features: [Temporal]
|
features: [Temporal]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
assert.throws(TypeError, () => Temporal.PlainYearMonth());
|
assert.throws(TypeError, () => Temporal.PlainYearMonth(1970, 1));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user