test262
test262 copied to clipboard
Temporal: Change subtract-from-last-representable-month tests
With the normative change proposed in https://github.com/tc39/proposal-temporal/issues/3197 , these tests are no longer valid. Changed them so they require subtracting a duration from the last representable year-month to succeed, rather than throwing an exception.
Just pushed a patch to update two more tests that are similar, which I didn't notice the first time.
The additional tests may change based on comments in https://github.com/tc39/proposal-temporal/issues/3197.