Avoid unrelated invalid input in PlainDate.from test.

This commit is contained in:
Ms2ger 2022-01-25 17:20:32 +01:00 committed by Rick Waldron
parent 158d0bf35f
commit dff7c70254
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ description: TypeError thrown when a primitive is passed as the options argument
features: [Temporal]
---*/
const fields = { year: 2000, month: 13, day: 2 };
const fields = { year: 2000, month: 11, day: 2 };
const values = [null, true, "hello", Symbol("foo"), 1, 1n];
for (const badOptions of values) {