summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibJS/Tests
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2022-06-24 00:29:09 +0100
committerLinus Groh <mail@linusgroh.de>2022-06-24 22:12:03 +0100
commit3beb7fc42fd7b4a80d68a029209aa00bdb19bc3a (patch)
tree16cdd646cc998d5dcaf64e430241c39fed3d954b /Userland/Libraries/LibJS/Tests
parentee0d5d6649b3c092aec3bd1b85b5b178a1899410 (diff)
downloadserenity-3beb7fc42fd7b4a80d68a029209aa00bdb19bc3a.zip
LibJS/Tests: Correct pluralSmallestPluralDisallowedOptions largestUnit
Diffstat (limited to 'Userland/Libraries/LibJS/Tests')
-rw-r--r--Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDate/PlainDate.prototype.since.js2
-rw-r--r--Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDate/PlainDate.prototype.until.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDate/PlainDate.prototype.since.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDate/PlainDate.prototype.since.js
index ece9eccbbd..173ece34d5 100644
--- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDate/PlainDate.prototype.since.js
+++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDate/PlainDate.prototype.since.js
@@ -225,7 +225,7 @@ describe("errors", () => {
};
const pluralSmallestPluralDisallowedOptions = {
smallestUnit: pluralSmallestUnit,
- largestUnit: disallowedUnit,
+ largestUnit: pluralDisallowedUnit,
};
expect(() => {
diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDate/PlainDate.prototype.until.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDate/PlainDate.prototype.until.js
index a83be66f73..222af0f926 100644
--- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDate/PlainDate.prototype.until.js
+++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDate/PlainDate.prototype.until.js
@@ -226,7 +226,7 @@ describe("errors", () => {
};
const pluralSmallestPluralDisallowedOptions = {
smallestUnit: pluralSmallestUnit,
- largestUnit: disallowedUnit,
+ largestUnit: pluralDisallowedUnit,
};
expect(() => {