mirror of https://github.com/tc39/test262.git
f44bbe4035
This shortcut path now exists in all round(), since(), and until() operations. In Instant, PlainDate, PlainDateTime, and PlainTime, the change isn't observable, so no tests could be added. This adds test coverage for - Duration.p.round() - PlainYearMonth.p.since() - PlainYearMonth.p.until() - ZonedDateTime.p.round() - ZonedDateTime.p.since() - ZonedDateTime.p.until() As well as a few cases where we are testing that certain calendar methods get called during a round operation, but previously were doing so with options that now become a no-op and no longer call those calendar methods. In those cases, round to 2 ns, rather than 1 ns. |
||
---|---|---|
.. | ||
compare | ||
from | ||
prototype | ||
basic.js | ||
builtin.js | ||
calendar-always.js | ||
calendar-case-insensitive.js | ||
calendar-invalid.js | ||
calendar-number.js | ||
calendar-string.js | ||
calendar-temporal-object.js | ||
calendar-undefined.js | ||
calendar-wrong-type.js | ||
constructor.js | ||
infinity-throws-rangeerror.js | ||
length.js | ||
limits.js | ||
missing-arguments.js | ||
name.js | ||
negative-infinity-throws-rangeerror.js | ||
prop-desc.js | ||
refisoday-undefined.js | ||
subclass.js |