mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 06:17:34 +00:00
LibJS: Enable Temporal tests that now pass
These pass now that negative zero is disallowed by SignedBigInteger.
This commit is contained in:
parent
b0d6399f60
commit
72b3ea49d6
1 changed files with 3 additions and 4 deletions
|
@ -11,10 +11,9 @@ describe("correct behavior", () => {
|
|||
8_640_000_000_000_000_000n
|
||||
);
|
||||
|
||||
// FIXME: These seemingly produce correct results in js(1s), but for some reason don't pass. Investigate.
|
||||
// expect(new Temporal.Instant(-0n).epochMicroseconds).toBe(-0n);
|
||||
// expect(new Temporal.Instant(-1n).epochMicroseconds).toBe(-0n);
|
||||
// expect(new Temporal.Instant(-999n).epochMicroseconds).toBe(-0n);
|
||||
expect(new Temporal.Instant(-0n).epochMicroseconds).toBe(-0n);
|
||||
expect(new Temporal.Instant(-1n).epochMicroseconds).toBe(-0n);
|
||||
expect(new Temporal.Instant(-999n).epochMicroseconds).toBe(-0n);
|
||||
expect(new Temporal.Instant(-1_000n).epochMicroseconds).toBe(-1n);
|
||||
expect(new Temporal.Instant(-1_500n).epochMicroseconds).toBe(-1n);
|
||||
expect(new Temporal.Instant(-1_999n).epochMicroseconds).toBe(-1n);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue