mirror of https://github.com/tc39/test262.git
Remove duplicated tests for PlainYearMonth.from overflow.
This is covered in overflow-wrong-type.js.
This commit is contained in:
parent
dff7c70254
commit
7215b9387f
|
@ -28,7 +28,7 @@ const validValues = [
|
|||
"2000-05",
|
||||
];
|
||||
validValues.forEach((value) => {
|
||||
["", "CONSTRAIN", "balance", "other string", "constra\u0131n", 3, null].forEach((overflow) => {
|
||||
["", "CONSTRAIN", "balance", "other string", "constra\u0131n"].forEach((overflow) => {
|
||||
assert.throws(RangeError, () => Temporal.PlainYearMonth.from(value, { overflow }));
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue