Skip to content

Commit

Permalink
Update test/built-ins/Temporal/PlainDateTime/prototype/round/rounding…
Browse files Browse the repository at this point in the history
…mode-halfexpand-is-default.js

Co-authored-by: Ms2ger <[email protected]>
  • Loading branch information
jessealama and Ms2ger authored Apr 12, 2022
1 parent 2927f15 commit 9f37d36
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,6 @@ const units = {
const expected = [1976, 11, "M11", 18, 0, 0, 0, 0, 0, 0];

Object.entries(units).forEach(([unit, expected]) => {
TemporalHelpers.assertPlainDateTime(
dt.round({ roundingmode: "halfExpand", smallestUnit: unit }),
...expected,
`halfExpand is the default (smallest unit = ${unit}, rounding mode present)`
);
TemporalHelpers.assertPlainDateTime(
dt.round({ smallestUnit: unit }),
...expected,
Expand Down

0 comments on commit 9f37d36

Please sign in to comment.