Commit 73e73f3
committed
Temporal: Add Duration.round() case triggering temporal_rs bug
I'm not sure of the exact circumstances that trigger this bug, but it
seems to be balancing a duration to a larger unit while also rounding to
an increment, with ZonedDateTime relativeTo.
Discovered using snapshot testing.
V8/Boa bug: boa-dev/temporal#6891 parent d563437 commit 73e73f3
File tree
1 file changed
+21
-0
lines changed- test/built-ins/Temporal/Duration/prototype/round
1 file changed
+21
-0
lines changedLines changed: 21 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
0 commit comments