mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 01:57:45 +00:00
LibJS/Tests: Replace snake_case with pascalCase in two PlainDate tests
This commit is contained in:
parent
8b6865b128
commit
2c46a0fa6c
2 changed files with 6 additions and 6 deletions
|
@ -1,8 +1,8 @@
|
||||||
describe("correct behavior", () => {
|
describe("correct behavior", () => {
|
||||||
test("basic functionality", () => {
|
test("basic functionality", () => {
|
||||||
const calendar = { hello: "friends" };
|
const calendar = { hello: "friends" };
|
||||||
const plain_date = new Temporal.PlainDate(1, 1, 1, calendar);
|
const plainDate = new Temporal.PlainDate(1, 1, 1, calendar);
|
||||||
expect(plain_date.calendar).toBe(calendar);
|
expect(plainDate.calendar).toBe(calendar);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
@ -5,9 +5,9 @@ describe("correct behavior", () => {
|
||||||
|
|
||||||
test("basic functionality", () => {
|
test("basic functionality", () => {
|
||||||
const calendar = { hello: "friends" };
|
const calendar = { hello: "friends" };
|
||||||
const first_plain_date = new Temporal.PlainDate(1, 1, 1, calendar);
|
const firstPlainDate = new Temporal.PlainDate(1, 1, 1, calendar);
|
||||||
const second_plain_date = new Temporal.PlainDate(0, 1, 1, calendar);
|
const secondPlainDate = new Temporal.PlainDate(0, 1, 1, calendar);
|
||||||
expect(first_plain_date.equals(first_plain_date));
|
expect(firstPlainDate.equals(firstPlainDate));
|
||||||
expect(!first_plain_date.equals(second_plain_date));
|
expect(!firstPlainDate.equals(secondPlainDate));
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue