test262
test262 copied to clipboard
Temporal: reorganize calendar and time zone "wrong type" tests
From #3847:
I'd fold the
calendar-numbertests intocalendar-wrong-typesince there is no longer any special behaviour of numbers to be tested; and I'd split the string tests out ofcalendar-wrong-typeinto something likecalendar-invalid-iso-stringbecause that now throws a different error.
Originally posted by @ptomato in https://github.com/tc39/test262/pull/3847#pullrequestreview-1535269888