mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 21:47:45 +00:00
LibJS: Fix value of Temporal.PlainDate.length
Should be 3 (year, month, day, optional calendar-like), not 0.
This commit is contained in:
parent
fd60815c58
commit
c65424d806
2 changed files with 3 additions and 3 deletions
|
@ -40,8 +40,8 @@ describe("errors", () => {
|
|||
});
|
||||
|
||||
describe("normal behavior", () => {
|
||||
test("length is 0", () => {
|
||||
expect(Temporal.PlainDate).toHaveLength(0);
|
||||
test("length is 3", () => {
|
||||
expect(Temporal.PlainDate).toHaveLength(3);
|
||||
});
|
||||
|
||||
test("basic functionality", () => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue