LibJS/Tests: Replace snake_case with pascalCase in two PlainDate tests
This commit is contained in:
parent
8b6865b128
commit
2c46a0fa6c
Notes:
sideshowbarker
2024-07-18 08:33:12 +09:00
Author: https://github.com/linusg Commit: https://github.com/SerenityOS/serenity/commit/2c46a0fa6cf Pull-request: https://github.com/SerenityOS/serenity/pull/8940 Reviewed-by: https://github.com/IdanHo ✅
2 changed files with 6 additions and 6 deletions
|
@ -1,8 +1,8 @@
|
|||
describe("correct behavior", () => {
|
||||
test("basic functionality", () => {
|
||||
const calendar = { hello: "friends" };
|
||||
const plain_date = new Temporal.PlainDate(1, 1, 1, calendar);
|
||||
expect(plain_date.calendar).toBe(calendar);
|
||||
const plainDate = new Temporal.PlainDate(1, 1, 1, calendar);
|
||||
expect(plainDate.calendar).toBe(calendar);
|
||||
});
|
||||
});
|
||||
|
||||
|
|
|
@ -5,9 +5,9 @@ describe("correct behavior", () => {
|
|||
|
||||
test("basic functionality", () => {
|
||||
const calendar = { hello: "friends" };
|
||||
const first_plain_date = new Temporal.PlainDate(1, 1, 1, calendar);
|
||||
const second_plain_date = new Temporal.PlainDate(0, 1, 1, calendar);
|
||||
expect(first_plain_date.equals(first_plain_date));
|
||||
expect(!first_plain_date.equals(second_plain_date));
|
||||
const firstPlainDate = new Temporal.PlainDate(1, 1, 1, calendar);
|
||||
const secondPlainDate = new Temporal.PlainDate(0, 1, 1, calendar);
|
||||
expect(firstPlainDate.equals(firstPlainDate));
|
||||
expect(!firstPlainDate.equals(secondPlainDate));
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue