summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2021-07-22 20:04:26 +0100
committerLinus Groh <mail@linusgroh.de>2021-07-22 21:19:40 +0100
commit2c46a0fa6cf0cf24d929bac52a0ca92f403daa1e (patch)
treebb1ada4772b3f52ceea3788429d23bf57f500df3
parent8b6865b1280975ffcafe9e30983bab8eda344289 (diff)
downloadserenity-2c46a0fa6cf0cf24d929bac52a0ca92f403daa1e.zip
LibJS/Tests: Replace snake_case with pascalCase in two PlainDate tests
-rw-r--r--Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDate/PlainDate.prototype.calendar.js4
-rw-r--r--Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDate/PlainDate.prototype.equals.js8
2 files changed, 6 insertions, 6 deletions
diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDate/PlainDate.prototype.calendar.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDate/PlainDate.prototype.calendar.js
index 2a122a82fd..75c2a956aa 100644
--- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDate/PlainDate.prototype.calendar.js
+++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDate/PlainDate.prototype.calendar.js
@@ -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);
});
});
diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDate/PlainDate.prototype.equals.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDate/PlainDate.prototype.equals.js
index a3aa80a975..5550710fd6 100644
--- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDate/PlainDate.prototype.equals.js
+++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDate/PlainDate.prototype.equals.js
@@ -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));
});
});