diff options
author | Timothy Flynn <trflynn89@pm.me> | 2021-09-11 15:00:40 -0400 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-09-12 00:16:39 +0200 |
commit | 76589d67282f3baf5a79219ba45ba9696416e26e (patch) | |
tree | f539f092d0c2200679b73b325a6d8bc385c35e7d | |
parent | 0398089275d8954616b7409326a6aa1a582aca90 (diff) | |
download | serenity-76589d67282f3baf5a79219ba45ba9696416e26e.zip |
LibJS: Change wording of ErrorType::NotA to be independent of context
Currently, we have NotA and NotAn, to be used dependent on whether the
following word begins with a vowel or not. To avoid this, change the
wording on NotA to be independent of this context.
169 files changed, 171 insertions, 171 deletions
diff --git a/Userland/Libraries/LibJS/Runtime/ErrorTypes.h b/Userland/Libraries/LibJS/Runtime/ErrorTypes.h index f583ef994d..a6bba61bb8 100644 --- a/Userland/Libraries/LibJS/Runtime/ErrorTypes.h +++ b/Userland/Libraries/LibJS/Runtime/ErrorTypes.h @@ -57,7 +57,7 @@ M(JsonMalformed, "Malformed JSON string") \ M(NegativeExponent, "Exponent must be positive") \ M(NonExtensibleDefine, "Cannot define property {} on non-extensible object") \ - M(NotA, "Not a {} object") \ + M(NotA, "Not an object of type {}") \ M(NotAConstructor, "{} is not a constructor") \ M(NotAFunction, "{} is not a function") \ M(NotAFunctionNoParam, "Not a function") \ diff --git a/Userland/Libraries/LibJS/Tests/builtins/BigInt/BigInt.prototype.toLocaleString.js b/Userland/Libraries/LibJS/Tests/builtins/BigInt/BigInt.prototype.toLocaleString.js index 1c111c516d..d7b8b3484a 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/BigInt/BigInt.prototype.toLocaleString.js +++ b/Userland/Libraries/LibJS/Tests/builtins/BigInt/BigInt.prototype.toLocaleString.js @@ -6,5 +6,5 @@ test("basic functionality", () => { test("calling with non-BigInt |this|", () => { expect(() => { BigInt.prototype.toLocaleString.call("foo"); - }).toThrowWithMessage(TypeError, "Not a BigInt object"); + }).toThrowWithMessage(TypeError, "Not an object of type BigInt"); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/BigInt/BigInt.prototype.toString.js b/Userland/Libraries/LibJS/Tests/builtins/BigInt/BigInt.prototype.toString.js index 040dec60d9..b651bc7e49 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/BigInt/BigInt.prototype.toString.js +++ b/Userland/Libraries/LibJS/Tests/builtins/BigInt/BigInt.prototype.toString.js @@ -6,5 +6,5 @@ test("basic functionality", () => { test("calling with non-BigInt |this|", () => { expect(() => { BigInt.prototype.toString.call("foo"); - }).toThrowWithMessage(TypeError, "Not a BigInt object"); + }).toThrowWithMessage(TypeError, "Not an object of type BigInt"); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/BigInt/BigInt.prototype.valueOf.js b/Userland/Libraries/LibJS/Tests/builtins/BigInt/BigInt.prototype.valueOf.js index f8404dcc07..40f7f74bdb 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/BigInt/BigInt.prototype.valueOf.js +++ b/Userland/Libraries/LibJS/Tests/builtins/BigInt/BigInt.prototype.valueOf.js @@ -7,5 +7,5 @@ test("basic functionality", () => { test("calling with non-BigInt |this|", () => { expect(() => { BigInt.prototype.valueOf.call("foo"); - }).toThrowWithMessage(TypeError, "Not a BigInt object"); + }).toThrowWithMessage(TypeError, "Not an object of type BigInt"); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Boolean/Boolean.prototype.toString.js b/Userland/Libraries/LibJS/Tests/builtins/Boolean/Boolean.prototype.toString.js index 506b23feac..eb2847b06a 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Boolean/Boolean.prototype.toString.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Boolean/Boolean.prototype.toString.js @@ -13,5 +13,5 @@ test("basic functionality", () => { test("errors on non-boolean |this|", () => { expect(() => { Boolean.prototype.toString.call("foo"); - }).toThrowWithMessage(TypeError, "Not a Boolean object"); + }).toThrowWithMessage(TypeError, "Not an object of type Boolean"); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Boolean/Boolean.prototype.valueOf.js b/Userland/Libraries/LibJS/Tests/builtins/Boolean/Boolean.prototype.valueOf.js index d510523c5b..ce7bd37142 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Boolean/Boolean.prototype.valueOf.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Boolean/Boolean.prototype.valueOf.js @@ -12,5 +12,5 @@ test("basic functionality", () => { test("errors on non-boolean |this|", () => { expect(() => { Boolean.prototype.valueOf.call("foo"); - }).toThrowWithMessage(TypeError, "Not a Boolean object"); + }).toThrowWithMessage(TypeError, "Not an object of type Boolean"); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Date/Date.prototype.toTemporalInstant.js b/Userland/Libraries/LibJS/Tests/builtins/Date/Date.prototype.toTemporalInstant.js index e5ca47bb89..e1dbf7d683 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Date/Date.prototype.toTemporalInstant.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Date/Date.prototype.toTemporalInstant.js @@ -10,6 +10,6 @@ describe("errors", () => { test("this value must be a Date object", () => { expect(() => { Date.prototype.toTemporalInstant.call(123); - }).toThrowWithMessage(TypeError, "Not a Date object"); + }).toThrowWithMessage(TypeError, "Not an object of type Date"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Function/Function.prototype.bind.js b/Userland/Libraries/LibJS/Tests/builtins/Function/Function.prototype.bind.js index 1bd5269f1d..0ae42710f9 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Function/Function.prototype.bind.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Function/Function.prototype.bind.js @@ -144,6 +144,6 @@ describe("errors", () => { test("does not accept non-function values", () => { expect(() => { Function.prototype.bind.call("foo"); - }).toThrowWithMessage(TypeError, "Not a Function object"); + }).toThrowWithMessage(TypeError, "Not an object of type Function"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Intl/ListFormat/ListFormat.prototype.format.js b/Userland/Libraries/LibJS/Tests/builtins/Intl/ListFormat/ListFormat.prototype.format.js index de5ad3563e..91c695d257 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Intl/ListFormat/ListFormat.prototype.format.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Intl/ListFormat/ListFormat.prototype.format.js @@ -4,7 +4,7 @@ describe("errors", () => { test("called on non-ListFormat object", () => { expect(() => { Intl.ListFormat.prototype.format([]); - }).toThrowWithMessage(TypeError, "Not a Intl.ListFormat object"); + }).toThrowWithMessage(TypeError, "Not an object of type Intl.ListFormat"); }); test("called with non-string iterable", () => { diff --git a/Userland/Libraries/LibJS/Tests/builtins/Intl/ListFormat/ListFormat.prototype.formatToParts.js b/Userland/Libraries/LibJS/Tests/builtins/Intl/ListFormat/ListFormat.prototype.formatToParts.js index 42ab1f78c5..a2311ca63a 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Intl/ListFormat/ListFormat.prototype.formatToParts.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Intl/ListFormat/ListFormat.prototype.formatToParts.js @@ -4,7 +4,7 @@ describe("errors", () => { test("called on non-ListFormat object", () => { expect(() => { Intl.ListFormat.prototype.formatToParts([]); - }).toThrowWithMessage(TypeError, "Not a Intl.ListFormat object"); + }).toThrowWithMessage(TypeError, "Not an object of type Intl.ListFormat"); }); test("called with non-string iterable", () => { diff --git a/Userland/Libraries/LibJS/Tests/builtins/Intl/Locale/Locale.prototype.baseName.js b/Userland/Libraries/LibJS/Tests/builtins/Intl/Locale/Locale.prototype.baseName.js index e265427517..dd2d470652 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Intl/Locale/Locale.prototype.baseName.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Intl/Locale/Locale.prototype.baseName.js @@ -2,7 +2,7 @@ describe("errors", () => { test("called on non-Locale object", () => { expect(() => { Intl.Locale.prototype.baseName; - }).toThrowWithMessage(TypeError, "Not a Intl.Locale object"); + }).toThrowWithMessage(TypeError, "Not an object of type Intl.Locale"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Intl/Locale/Locale.prototype.calendar.js b/Userland/Libraries/LibJS/Tests/builtins/Intl/Locale/Locale.prototype.calendar.js index de372899ad..6ece7cc45f 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Intl/Locale/Locale.prototype.calendar.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Intl/Locale/Locale.prototype.calendar.js @@ -2,7 +2,7 @@ describe("errors", () => { test("called on non-Locale object", () => { expect(() => { Intl.Locale.prototype.calendar; - }).toThrowWithMessage(TypeError, "Not a Intl.Locale object"); + }).toThrowWithMessage(TypeError, "Not an object of type Intl.Locale"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Intl/Locale/Locale.prototype.caseFirst.js b/Userland/Libraries/LibJS/Tests/builtins/Intl/Locale/Locale.prototype.caseFirst.js index 852f4ea88c..dfadf3ebbc 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Intl/Locale/Locale.prototype.caseFirst.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Intl/Locale/Locale.prototype.caseFirst.js @@ -2,7 +2,7 @@ describe("errors", () => { test("called on non-Locale object", () => { expect(() => { Intl.Locale.prototype.caseFirst; - }).toThrowWithMessage(TypeError, "Not a Intl.Locale object"); + }).toThrowWithMessage(TypeError, "Not an object of type Intl.Locale"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Intl/Locale/Locale.prototype.collation.js b/Userland/Libraries/LibJS/Tests/builtins/Intl/Locale/Locale.prototype.collation.js index 363a679ae5..685a86b406 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Intl/Locale/Locale.prototype.collation.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Intl/Locale/Locale.prototype.collation.js @@ -2,7 +2,7 @@ describe("errors", () => { test("called on non-Locale object", () => { expect(() => { Intl.Locale.prototype.collation; - }).toThrowWithMessage(TypeError, "Not a Intl.Locale object"); + }).toThrowWithMessage(TypeError, "Not an object of type Intl.Locale"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Intl/Locale/Locale.prototype.hourCycle.js b/Userland/Libraries/LibJS/Tests/builtins/Intl/Locale/Locale.prototype.hourCycle.js index 53c8e3c44f..e756ebc558 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Intl/Locale/Locale.prototype.hourCycle.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Intl/Locale/Locale.prototype.hourCycle.js @@ -2,7 +2,7 @@ describe("errors", () => { test("called on non-Locale object", () => { expect(() => { Intl.Locale.prototype.hourCycle; - }).toThrowWithMessage(TypeError, "Not a Intl.Locale object"); + }).toThrowWithMessage(TypeError, "Not an object of type Intl.Locale"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Intl/Locale/Locale.prototype.language.js b/Userland/Libraries/LibJS/Tests/builtins/Intl/Locale/Locale.prototype.language.js index 5b6820bb3a..785f0d0a67 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Intl/Locale/Locale.prototype.language.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Intl/Locale/Locale.prototype.language.js @@ -2,7 +2,7 @@ describe("errors", () => { test("called on non-Locale object", () => { expect(() => { Intl.Locale.prototype.language; - }).toThrowWithMessage(TypeError, "Not a Intl.Locale object"); + }).toThrowWithMessage(TypeError, "Not an object of type Intl.Locale"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Intl/Locale/Locale.prototype.numberingSystem.js b/Userland/Libraries/LibJS/Tests/builtins/Intl/Locale/Locale.prototype.numberingSystem.js index ff1563cbbc..897944b97b 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Intl/Locale/Locale.prototype.numberingSystem.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Intl/Locale/Locale.prototype.numberingSystem.js @@ -2,7 +2,7 @@ describe("errors", () => { test("called on non-Locale object", () => { expect(() => { Intl.Locale.prototype.numberingSystem; - }).toThrowWithMessage(TypeError, "Not a Intl.Locale object"); + }).toThrowWithMessage(TypeError, "Not an object of type Intl.Locale"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Intl/Locale/Locale.prototype.numeric.js b/Userland/Libraries/LibJS/Tests/builtins/Intl/Locale/Locale.prototype.numeric.js index 3dcab9f41b..1dc959eb6b 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Intl/Locale/Locale.prototype.numeric.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Intl/Locale/Locale.prototype.numeric.js @@ -2,7 +2,7 @@ describe("errors", () => { test("called on non-Locale object", () => { expect(() => { Intl.Locale.prototype.numeric; - }).toThrowWithMessage(TypeError, "Not a Intl.Locale object"); + }).toThrowWithMessage(TypeError, "Not an object of type Intl.Locale"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Intl/Locale/Locale.prototype.region.js b/Userland/Libraries/LibJS/Tests/builtins/Intl/Locale/Locale.prototype.region.js index f42fd53655..0facce483a 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Intl/Locale/Locale.prototype.region.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Intl/Locale/Locale.prototype.region.js @@ -2,7 +2,7 @@ describe("errors", () => { test("called on non-Locale object", () => { expect(() => { Intl.Locale.prototype.region; - }).toThrowWithMessage(TypeError, "Not a Intl.Locale object"); + }).toThrowWithMessage(TypeError, "Not an object of type Intl.Locale"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Intl/Locale/Locale.prototype.script.js b/Userland/Libraries/LibJS/Tests/builtins/Intl/Locale/Locale.prototype.script.js index 34338cb653..133cea9eba 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Intl/Locale/Locale.prototype.script.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Intl/Locale/Locale.prototype.script.js @@ -2,7 +2,7 @@ describe("errors", () => { test("called on non-Locale object", () => { expect(() => { Intl.Locale.prototype.script; - }).toThrowWithMessage(TypeError, "Not a Intl.Locale object"); + }).toThrowWithMessage(TypeError, "Not an object of type Intl.Locale"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Number/Number.prototype.toFixed.js b/Userland/Libraries/LibJS/Tests/builtins/Number/Number.prototype.toFixed.js index 5d187823b6..01d4c075d7 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Number/Number.prototype.toFixed.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Number/Number.prototype.toFixed.js @@ -31,7 +31,7 @@ describe("errors", () => { [true, [], {}, Symbol("foo"), "bar", 1n].forEach(value => { expect(() => Number.prototype.toFixed.call(value)).toThrowWithMessage( TypeError, - "Not a Number object" + "Not an object of type Number" ); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Number/Number.prototype.toString.js b/Userland/Libraries/LibJS/Tests/builtins/Number/Number.prototype.toString.js index 75d9f3a6d9..0623175fe5 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Number/Number.prototype.toString.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Number/Number.prototype.toString.js @@ -77,7 +77,7 @@ describe("errors", () => { [true, [], {}, Symbol("foo"), "bar", 1n].forEach(value => { expect(() => Number.prototype.toString.call(value)).toThrowWithMessage( TypeError, - "Not a Number object" + "Not an object of type Number" ); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Number/Number.prototype.valueOf.js b/Userland/Libraries/LibJS/Tests/builtins/Number/Number.prototype.valueOf.js index fca0412244..d71f26f44e 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Number/Number.prototype.valueOf.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Number/Number.prototype.valueOf.js @@ -14,7 +14,7 @@ describe("errors", () => { [true, [], {}, Symbol("foo"), "bar", 1n].forEach(value => { expect(() => Number.prototype.valueOf.call(value)).toThrowWithMessage( TypeError, - "Not a Number object" + "Not an object of type Number" ); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Promise/Promise.prototype.then.js b/Userland/Libraries/LibJS/Tests/builtins/Promise/Promise.prototype.then.js index 939981ece5..804d133865 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Promise/Promise.prototype.then.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Promise/Promise.prototype.then.js @@ -6,7 +6,7 @@ describe("errors", () => { test("this value must be a Promise", () => { expect(() => { Promise.prototype.then.call({}); - }).toThrowWithMessage(TypeError, "Not a Promise"); + }).toThrowWithMessage(TypeError, "Not an object of type Promise"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Symbol/Symbol.prototype.valueOf.js b/Userland/Libraries/LibJS/Tests/builtins/Symbol/Symbol.prototype.valueOf.js index 0bfbfef912..b5043cd2b6 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Symbol/Symbol.prototype.valueOf.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Symbol/Symbol.prototype.valueOf.js @@ -11,5 +11,5 @@ test("basic functionality", () => { test("|this| must be a symbol", () => { expect(() => { Symbol.prototype.valueOf.call("foo"); - }).toThrowWithMessage(TypeError, "Not a Symbol object"); + }).toThrowWithMessage(TypeError, "Not an object of type Symbol"); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/Calendar/Calendar.prototype.era.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/Calendar/Calendar.prototype.era.js index a80ab602a2..8a03691c37 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/Calendar/Calendar.prototype.era.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/Calendar/Calendar.prototype.era.js @@ -14,7 +14,7 @@ describe("errors", () => { test("this value must be a Temporal.Calendar object", () => { expect(() => { Temporal.Calendar.prototype.era.call("foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.Calendar"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.Calendar"); }); test("argument must be date-like", () => { diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/Calendar/Calendar.prototype.eraYear.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/Calendar/Calendar.prototype.eraYear.js index 9ec905b5f4..791c03c239 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/Calendar/Calendar.prototype.eraYear.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/Calendar/Calendar.prototype.eraYear.js @@ -14,7 +14,7 @@ describe("errors", () => { test("this value must be a Temporal.Calendar object", () => { expect(() => { Temporal.Calendar.prototype.eraYear.call("foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.Calendar"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.Calendar"); }); test("argument must be date-like", () => { diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/Calendar/Calendar.prototype.fields.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/Calendar/Calendar.prototype.fields.js index 09214fc2be..c9e4d704a6 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/Calendar/Calendar.prototype.fields.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/Calendar/Calendar.prototype.fields.js @@ -27,7 +27,7 @@ describe("errors", () => { test("this value must be a Temporal.Calendar object", () => { expect(() => { Temporal.Calendar.prototype.fields.call("foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.Calendar"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.Calendar"); }); test("iterator values must be strings", () => { diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/Calendar/Calendar.prototype.mergeFields.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/Calendar/Calendar.prototype.mergeFields.js index 1112c8871a..596018b14c 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/Calendar/Calendar.prototype.mergeFields.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/Calendar/Calendar.prototype.mergeFields.js @@ -35,7 +35,7 @@ describe("errors", () => { test("this value must be a Temporal.Calendar object", () => { expect(() => { Temporal.Calendar.prototype.mergeFields.call("foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.Calendar"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.Calendar"); }); test("fields argument must be coercible to object", () => { diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/Calendar/Calendar.prototype.toString.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/Calendar/Calendar.prototype.toString.js index 6ce0f85945..49aad08e95 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/Calendar/Calendar.prototype.toString.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/Calendar/Calendar.prototype.toString.js @@ -13,6 +13,6 @@ describe("errors", () => { test("this value must be a Temporal.Calendar object", () => { expect(() => { Temporal.Calendar.prototype.toString.call("foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.Calendar"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.Calendar"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/Duration/Duration.prototype.abs.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/Duration/Duration.prototype.abs.js index 5d6c4bceb3..ba80ce5272 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/Duration/Duration.prototype.abs.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/Duration/Duration.prototype.abs.js @@ -48,6 +48,6 @@ describe("errors", () => { test("this value must be a Temporal.Duration object", () => { expect(() => { Temporal.Duration.prototype.abs.call("foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.Duration"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.Duration"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/Duration/Duration.prototype.blank.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/Duration/Duration.prototype.blank.js index 8e6d7e048b..284d2837a3 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/Duration/Duration.prototype.blank.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/Duration/Duration.prototype.blank.js @@ -12,6 +12,6 @@ describe("errors", () => { test("this value must be a Temporal.Duration object", () => { expect(() => { Reflect.get(Temporal.Duration.prototype, "blank", "foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.Duration"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.Duration"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/Duration/Duration.prototype.days.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/Duration/Duration.prototype.days.js index c224078eca..6f41661e41 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/Duration/Duration.prototype.days.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/Duration/Duration.prototype.days.js @@ -9,6 +9,6 @@ describe("errors", () => { test("this value must be a Temporal.Duration object", () => { expect(() => { Reflect.get(Temporal.Duration.prototype, "days", "foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.Duration"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.Duration"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/Duration/Duration.prototype.hours.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/Duration/Duration.prototype.hours.js index aa4b13e799..e325bf7060 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/Duration/Duration.prototype.hours.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/Duration/Duration.prototype.hours.js @@ -9,6 +9,6 @@ describe("errors", () => { test("this value must be a Temporal.Duration object", () => { expect(() => { Reflect.get(Temporal.Duration.prototype, "hours", "foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.Duration"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.Duration"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/Duration/Duration.prototype.microseconds.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/Duration/Duration.prototype.microseconds.js index b12c4ff110..5230e2b559 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/Duration/Duration.prototype.microseconds.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/Duration/Duration.prototype.microseconds.js @@ -9,6 +9,6 @@ describe("errors", () => { test("this value must be a Temporal.Duration object", () => { expect(() => { Reflect.get(Temporal.Duration.prototype, "microseconds", "foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.Duration"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.Duration"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/Duration/Duration.prototype.milliseconds.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/Duration/Duration.prototype.milliseconds.js index 1af482a1b5..31d90bfda6 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/Duration/Duration.prototype.milliseconds.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/Duration/Duration.prototype.milliseconds.js @@ -9,6 +9,6 @@ describe("errors", () => { test("this value must be a Temporal.Duration object", () => { expect(() => { Reflect.get(Temporal.Duration.prototype, "milliseconds", "foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.Duration"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.Duration"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/Duration/Duration.prototype.minutes.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/Duration/Duration.prototype.minutes.js index ff3e812aef..d47b8296b9 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/Duration/Duration.prototype.minutes.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/Duration/Duration.prototype.minutes.js @@ -9,6 +9,6 @@ describe("errors", () => { test("this value must be a Temporal.Duration object", () => { expect(() => { Reflect.get(Temporal.Duration.prototype, "minutes", "foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.Duration"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.Duration"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/Duration/Duration.prototype.months.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/Duration/Duration.prototype.months.js index cf0aedc205..01424ffe94 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/Duration/Duration.prototype.months.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/Duration/Duration.prototype.months.js @@ -9,6 +9,6 @@ describe("errors", () => { test("this value must be a Temporal.Duration object", () => { expect(() => { Reflect.get(Temporal.Duration.prototype, "months", "foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.Duration"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.Duration"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/Duration/Duration.prototype.nanoseconds.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/Duration/Duration.prototype.nanoseconds.js index 340195b3a0..d9b5117a8f 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/Duration/Duration.prototype.nanoseconds.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/Duration/Duration.prototype.nanoseconds.js @@ -9,6 +9,6 @@ describe("errors", () => { test("this value must be a Temporal.Duration object", () => { expect(() => { Reflect.get(Temporal.Duration.prototype, "nanoseconds", "foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.Duration"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.Duration"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/Duration/Duration.prototype.negated.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/Duration/Duration.prototype.negated.js index 0b51f6789e..d96f5a04d0 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/Duration/Duration.prototype.negated.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/Duration/Duration.prototype.negated.js @@ -37,6 +37,6 @@ describe("errors", () => { test("this value must be a Temporal.Duration object", () => { expect(() => { Temporal.Duration.prototype.negated.call("foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.Duration"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.Duration"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/Duration/Duration.prototype.seconds.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/Duration/Duration.prototype.seconds.js index 9ef68c1710..f15a023e96 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/Duration/Duration.prototype.seconds.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/Duration/Duration.prototype.seconds.js @@ -9,6 +9,6 @@ describe("errors", () => { test("this value must be a Temporal.Duration object", () => { expect(() => { Reflect.get(Temporal.Duration.prototype, "seconds", "foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.Duration"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.Duration"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/Duration/Duration.prototype.sign.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/Duration/Duration.prototype.sign.js index 62790c9b2d..aeabf47d8e 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/Duration/Duration.prototype.sign.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/Duration/Duration.prototype.sign.js @@ -12,6 +12,6 @@ describe("errors", () => { test("this value must be a Temporal.Duration object", () => { expect(() => { Reflect.get(Temporal.Duration.prototype, "sign", "foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.Duration"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.Duration"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/Duration/Duration.prototype.weeks.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/Duration/Duration.prototype.weeks.js index 0f7938840c..b1c002cf3b 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/Duration/Duration.prototype.weeks.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/Duration/Duration.prototype.weeks.js @@ -9,6 +9,6 @@ describe("errors", () => { test("this value must be a Temporal.Duration object", () => { expect(() => { Reflect.get(Temporal.Duration.prototype, "weeks", "foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.Duration"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.Duration"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/Duration/Duration.prototype.with.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/Duration/Duration.prototype.with.js index 20579d0101..dae778ad22 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/Duration/Duration.prototype.with.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/Duration/Duration.prototype.with.js @@ -42,7 +42,7 @@ describe("errors", () => { test("this value must be a Temporal.Duration object", () => { expect(() => { Temporal.Duration.prototype.with.call("foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.Duration"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.Duration"); }); test("argument is not an object", () => { diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/Duration/Duration.prototype.years.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/Duration/Duration.prototype.years.js index 153db4ef1f..43175e6037 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/Duration/Duration.prototype.years.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/Duration/Duration.prototype.years.js @@ -9,6 +9,6 @@ describe("errors", () => { test("this value must be a Temporal.Duration object", () => { expect(() => { Reflect.get(Temporal.Duration.prototype, "years", "foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.Duration"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.Duration"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/Instant/Instant.prototype.add.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/Instant/Instant.prototype.add.js index 015c94dc6b..f5a6d9209d 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/Instant/Instant.prototype.add.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/Instant/Instant.prototype.add.js @@ -14,7 +14,7 @@ describe("errors", () => { test("this value must be a Temporal.Instant object", () => { expect(() => { Temporal.Instant.prototype.add.call("foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.Instant"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.Instant"); }); test("invalid nanoseconds value, positive", () => { diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/Instant/Instant.prototype.epochMicroseconds.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/Instant/Instant.prototype.epochMicroseconds.js index f92e3733ff..18bf350ef1 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/Instant/Instant.prototype.epochMicroseconds.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/Instant/Instant.prototype.epochMicroseconds.js @@ -29,6 +29,6 @@ describe("errors", () => { test("this value must be a Temporal.Instant object", () => { expect(() => { Reflect.get(Temporal.Instant.prototype, "epochMicroseconds", "foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.Instant"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.Instant"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/Instant/Instant.prototype.epochMilliseconds.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/Instant/Instant.prototype.epochMilliseconds.js index 6eb25828f6..56546f4c73 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/Instant/Instant.prototype.epochMilliseconds.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/Instant/Instant.prototype.epochMilliseconds.js @@ -28,6 +28,6 @@ describe("errors", () => { test("this value must be a Temporal.Instant object", () => { expect(() => { Reflect.get(Temporal.Instant.prototype, "epochMilliseconds", "foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.Instant"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.Instant"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/Instant/Instant.prototype.epochNanoseconds.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/Instant/Instant.prototype.epochNanoseconds.js index 039153a5e4..06f66dccb0 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/Instant/Instant.prototype.epochNanoseconds.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/Instant/Instant.prototype.epochNanoseconds.js @@ -20,6 +20,6 @@ describe("errors", () => { test("this value must be a Temporal.Instant object", () => { expect(() => { Reflect.get(Temporal.Instant.prototype, "epochNanoseconds", "foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.Instant"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.Instant"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/Instant/Instant.prototype.epochSeconds.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/Instant/Instant.prototype.epochSeconds.js index 90b4ab30bf..f01fc43562 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/Instant/Instant.prototype.epochSeconds.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/Instant/Instant.prototype.epochSeconds.js @@ -28,6 +28,6 @@ describe("errors", () => { test("this value must be a Temporal.Instant object", () => { expect(() => { Reflect.get(Temporal.Instant.prototype, "epochSeconds", "foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.Instant"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.Instant"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/Instant/Instant.prototype.equals.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/Instant/Instant.prototype.equals.js index b02d088745..a1bfc7f4ce 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/Instant/Instant.prototype.equals.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/Instant/Instant.prototype.equals.js @@ -15,6 +15,6 @@ describe("errors", () => { test("this value must be a Temporal.Instant object", () => { expect(() => { Temporal.Instant.prototype.equals.call("foo", 1, 2); - }).toThrowWithMessage(TypeError, "Not a Temporal.Instant"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.Instant"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/Instant/Instant.prototype.round.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/Instant/Instant.prototype.round.js index b6c74f20c4..e1c213cde9 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/Instant/Instant.prototype.round.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/Instant/Instant.prototype.round.js @@ -27,7 +27,7 @@ describe("errors", () => { test("this value must be a Temporal.Instant object", () => { expect(() => { Temporal.Instant.prototype.round.call("foo", {}); - }).toThrowWithMessage(TypeError, "Not a Temporal.Instant"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.Instant"); }); test("missing options object", () => { diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/Instant/Instant.prototype.since.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/Instant/Instant.prototype.since.js index ff527fefff..95d7ac0483 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/Instant/Instant.prototype.since.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/Instant/Instant.prototype.since.js @@ -15,6 +15,6 @@ describe("errors", () => { test("this value must be a Temporal.Instant object", () => { expect(() => { Temporal.Instant.prototype.since.call("foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.Instant"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.Instant"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/Instant/Instant.prototype.subtract.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/Instant/Instant.prototype.subtract.js index 1f058ebc7f..35ae00ce62 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/Instant/Instant.prototype.subtract.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/Instant/Instant.prototype.subtract.js @@ -14,7 +14,7 @@ describe("errors", () => { test("this value must be a Temporal.Instant object", () => { expect(() => { Temporal.Instant.prototype.subtract.call("foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.Instant"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.Instant"); }); test("invalid nanoseconds value, positive", () => { diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/Instant/Instant.prototype.toJSON.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/Instant/Instant.prototype.toJSON.js index 63f965ac49..074ae09256 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/Instant/Instant.prototype.toJSON.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/Instant/Instant.prototype.toJSON.js @@ -13,6 +13,6 @@ describe("errors", () => { test("this value must be a Temporal.Instant object", () => { expect(() => { Temporal.Instant.prototype.toJSON.call("foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.Instant"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.Instant"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/Instant/Instant.prototype.toLocaleString.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/Instant/Instant.prototype.toLocaleString.js index 8877cac635..2e3ecd1663 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/Instant/Instant.prototype.toLocaleString.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/Instant/Instant.prototype.toLocaleString.js @@ -13,6 +13,6 @@ describe("errors", () => { test("this value must be a Temporal.Instant object", () => { expect(() => { Temporal.Instant.prototype.toLocaleString.call("foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.Instant"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.Instant"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/Instant/Instant.prototype.toString.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/Instant/Instant.prototype.toString.js index f39db3c62c..a9661c7c78 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/Instant/Instant.prototype.toString.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/Instant/Instant.prototype.toString.js @@ -60,6 +60,6 @@ describe("errors", () => { test("this value must be a Temporal.Instant object", () => { expect(() => { Temporal.Instant.prototype.toString.call("foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.Instant"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.Instant"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/Instant/Instant.prototype.toZonedDateTime.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/Instant/Instant.prototype.toZonedDateTime.js index d01ec6841a..07528143cd 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/Instant/Instant.prototype.toZonedDateTime.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/Instant/Instant.prototype.toZonedDateTime.js @@ -26,7 +26,7 @@ describe("errors", () => { test("this value must be a Temporal.Instant object", () => { expect(() => { Temporal.Instant.prototype.toZonedDateTime.call("foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.Instant"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.Instant"); }); test("items argument must be an object", () => { diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/Instant/Instant.prototype.toZonedDateTimeISO.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/Instant/Instant.prototype.toZonedDateTimeISO.js index 7f4ac620da..0786e0c8a3 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/Instant/Instant.prototype.toZonedDateTimeISO.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/Instant/Instant.prototype.toZonedDateTimeISO.js @@ -32,6 +32,6 @@ describe("errors", () => { test("this value must be a Temporal.Instant object", () => { expect(() => { Temporal.Instant.prototype.toZonedDateTimeISO.call("foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.Instant"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.Instant"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/Instant/Instant.prototype.until.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/Instant/Instant.prototype.until.js index 28a9ba7a5b..2f009bfe5c 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/Instant/Instant.prototype.until.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/Instant/Instant.prototype.until.js @@ -15,6 +15,6 @@ describe("errors", () => { test("this value must be a Temporal.Instant object", () => { expect(() => { Temporal.Instant.prototype.until.call("foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.Instant"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.Instant"); }); }); 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 d9e3bc47d3..cc8edd98f5 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 @@ -10,6 +10,6 @@ describe("errors", () => { test("this value must be a Temporal.PlainDate object", () => { expect(() => { Reflect.get(Temporal.PlainDate.prototype, "calendar", "foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.PlainDate"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.PlainDate"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDate/PlainDate.prototype.day.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDate/PlainDate.prototype.day.js index e272dbf4da..576e8275cc 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDate/PlainDate.prototype.day.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDate/PlainDate.prototype.day.js @@ -9,6 +9,6 @@ describe("errors", () => { test("this value must be a Temporal.PlainDate object", () => { expect(() => { Reflect.get(Temporal.PlainDate.prototype, "day", "foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.PlainDate"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.PlainDate"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDate/PlainDate.prototype.dayOfWeek.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDate/PlainDate.prototype.dayOfWeek.js index a2e20cf33c..436b8b6e85 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDate/PlainDate.prototype.dayOfWeek.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDate/PlainDate.prototype.dayOfWeek.js @@ -9,6 +9,6 @@ describe("errors", () => { test("this value must be a Temporal.PlainDate object", () => { expect(() => { Reflect.get(Temporal.PlainDate.prototype, "dayOfWeek", "foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.PlainDate"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.PlainDate"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDate/PlainDate.prototype.dayOfYear.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDate/PlainDate.prototype.dayOfYear.js index 0a51493eef..15d50c8e5c 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDate/PlainDate.prototype.dayOfYear.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDate/PlainDate.prototype.dayOfYear.js @@ -9,6 +9,6 @@ describe("errors", () => { test("this value must be a Temporal.PlainDate object", () => { expect(() => { Reflect.get(Temporal.PlainDate.prototype, "dayOfYear", "foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.PlainDate"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.PlainDate"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDate/PlainDate.prototype.daysInMonth.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDate/PlainDate.prototype.daysInMonth.js index 3c7d03da22..9d02718ded 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDate/PlainDate.prototype.daysInMonth.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDate/PlainDate.prototype.daysInMonth.js @@ -9,6 +9,6 @@ describe("errors", () => { test("this value must be a Temporal.PlainDate object", () => { expect(() => { Reflect.get(Temporal.PlainDate.prototype, "daysInMonth", "foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.PlainDate"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.PlainDate"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDate/PlainDate.prototype.daysInWeek.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDate/PlainDate.prototype.daysInWeek.js index ab6417a6c0..1e9a888349 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDate/PlainDate.prototype.daysInWeek.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDate/PlainDate.prototype.daysInWeek.js @@ -9,6 +9,6 @@ describe("errors", () => { test("this value must be a Temporal.PlainDate object", () => { expect(() => { Reflect.get(Temporal.PlainDate.prototype, "daysInWeek", "foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.PlainDate"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.PlainDate"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDate/PlainDate.prototype.daysInYear.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDate/PlainDate.prototype.daysInYear.js index 44b92be90b..90eb232fd0 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDate/PlainDate.prototype.daysInYear.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDate/PlainDate.prototype.daysInYear.js @@ -9,6 +9,6 @@ describe("errors", () => { test("this value must be a Temporal.PlainDate object", () => { expect(() => { Reflect.get(Temporal.PlainDate.prototype, "daysInYear", "foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.PlainDate"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.PlainDate"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDate/PlainDate.prototype.era.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDate/PlainDate.prototype.era.js index f0f43dacc6..f6080cded1 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDate/PlainDate.prototype.era.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDate/PlainDate.prototype.era.js @@ -19,6 +19,6 @@ describe("errors", () => { test("this value must be a Temporal.PlainDate object", () => { expect(() => { Reflect.get(Temporal.PlainDate.prototype, "era", "foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.PlainDate"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.PlainDate"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDate/PlainDate.prototype.eraYear.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDate/PlainDate.prototype.eraYear.js index d3d98f6b36..aa3452aa46 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDate/PlainDate.prototype.eraYear.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDate/PlainDate.prototype.eraYear.js @@ -19,6 +19,6 @@ describe("errors", () => { test("this value must be a Temporal.PlainDate object", () => { expect(() => { Reflect.get(Temporal.PlainDate.prototype, "eraYear", "foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.PlainDate"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.PlainDate"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDate/PlainDate.prototype.inLeapYear.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDate/PlainDate.prototype.inLeapYear.js index 63fff82b31..94810afc29 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDate/PlainDate.prototype.inLeapYear.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDate/PlainDate.prototype.inLeapYear.js @@ -11,6 +11,6 @@ describe("errors", () => { test("this value must be a Temporal.PlainDate object", () => { expect(() => { Reflect.get(Temporal.PlainDate.prototype, "inLeapYear", "foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.PlainDate"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.PlainDate"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDate/PlainDate.prototype.month.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDate/PlainDate.prototype.month.js index c93461f27a..4e771f9272 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDate/PlainDate.prototype.month.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDate/PlainDate.prototype.month.js @@ -9,6 +9,6 @@ describe("errors", () => { test("this value must be a Temporal.PlainDate object", () => { expect(() => { Reflect.get(Temporal.PlainDate.prototype, "month", "foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.PlainDate"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.PlainDate"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDate/PlainDate.prototype.monthCode.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDate/PlainDate.prototype.monthCode.js index 5e51240cab..e5c6a293a8 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDate/PlainDate.prototype.monthCode.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDate/PlainDate.prototype.monthCode.js @@ -9,6 +9,6 @@ describe("errors", () => { test("this value must be a Temporal.PlainDate object", () => { expect(() => { Reflect.get(Temporal.PlainDate.prototype, "monthCode", "foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.PlainDate"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.PlainDate"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDate/PlainDate.prototype.monthsInYear.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDate/PlainDate.prototype.monthsInYear.js index 7bf5c09f17..44b3e3566c 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDate/PlainDate.prototype.monthsInYear.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDate/PlainDate.prototype.monthsInYear.js @@ -9,6 +9,6 @@ describe("errors", () => { test("this value must be a Temporal.PlainDate object", () => { expect(() => { Reflect.get(Temporal.PlainDate.prototype, "monthsInYear", "foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.PlainDate"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.PlainDate"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDate/PlainDate.prototype.toJSON.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDate/PlainDate.prototype.toJSON.js index 03e08c442c..4ce606105e 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDate/PlainDate.prototype.toJSON.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDate/PlainDate.prototype.toJSON.js @@ -18,6 +18,6 @@ describe("errors", () => { test("this value must be a Temporal.PlainDate object", () => { expect(() => { Temporal.PlainDate.prototype.toJSON.call("foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.PlainDate"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.PlainDate"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDate/PlainDate.prototype.toLocaleString.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDate/PlainDate.prototype.toLocaleString.js index 527e711de2..bc465a1af2 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDate/PlainDate.prototype.toLocaleString.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDate/PlainDate.prototype.toLocaleString.js @@ -18,6 +18,6 @@ describe("errors", () => { test("this value must be a Temporal.PlainDate object", () => { expect(() => { Temporal.PlainDate.prototype.toLocaleString.call("foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.PlainDate"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.PlainDate"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDate/PlainDate.prototype.toString.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDate/PlainDate.prototype.toString.js index b34a91c7b2..0722a55340 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDate/PlainDate.prototype.toString.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDate/PlainDate.prototype.toString.js @@ -39,7 +39,7 @@ describe("errors", () => { test("this value must be a Temporal.PlainDate object", () => { expect(() => { Temporal.PlainDate.prototype.toString.call("foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.PlainDate"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.PlainDate"); }); test("calendarName option must be one of 'auto', 'always', 'never'", () => { diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDate/PlainDate.prototype.weekOfYear.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDate/PlainDate.prototype.weekOfYear.js index 8c3e2c6261..ef9e8552ea 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDate/PlainDate.prototype.weekOfYear.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDate/PlainDate.prototype.weekOfYear.js @@ -9,6 +9,6 @@ describe("errors", () => { test("this value must be a Temporal.PlainDate object", () => { expect(() => { Reflect.get(Temporal.PlainDate.prototype, "weekOfYear", "foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.PlainDate"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.PlainDate"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDate/PlainDate.prototype.year.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDate/PlainDate.prototype.year.js index fc69f49afc..04ed036a3f 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDate/PlainDate.prototype.year.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDate/PlainDate.prototype.year.js @@ -9,6 +9,6 @@ describe("errors", () => { test("this value must be a Temporal.PlainDate object", () => { expect(() => { Reflect.get(Temporal.PlainDate.prototype, "year", "foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.PlainDate"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.PlainDate"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDateTime/PlainDateTime.prototype.calendar.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDateTime/PlainDateTime.prototype.calendar.js index b8a0bb89c1..1da7740b42 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDateTime/PlainDateTime.prototype.calendar.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDateTime/PlainDateTime.prototype.calendar.js @@ -10,6 +10,6 @@ describe("errors", () => { test("this value must be a Temporal.PlainDateTime object", () => { expect(() => { Reflect.get(Temporal.PlainDateTime.prototype, "calendar", "foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.PlainDateTime"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.PlainDateTime"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDateTime/PlainDateTime.prototype.day.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDateTime/PlainDateTime.prototype.day.js index d98d1f9f37..7431aa0a6e 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDateTime/PlainDateTime.prototype.day.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDateTime/PlainDateTime.prototype.day.js @@ -9,6 +9,6 @@ describe("errors", () => { test("this value must be a Temporal.PlainDateTime object", () => { expect(() => { Reflect.get(Temporal.PlainDateTime.prototype, "day", "foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.PlainDateTime"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.PlainDateTime"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDateTime/PlainDateTime.prototype.dayOfWeek.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDateTime/PlainDateTime.prototype.dayOfWeek.js index efcc0c05d7..4b40325b01 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDateTime/PlainDateTime.prototype.dayOfWeek.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDateTime/PlainDateTime.prototype.dayOfWeek.js @@ -9,6 +9,6 @@ describe("errors", () => { test("this value must be a Temporal.PlainDateTime object", () => { expect(() => { Reflect.get(Temporal.PlainDateTime.prototype, "dayOfWeek", "foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.PlainDateTime"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.PlainDateTime"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDateTime/PlainDateTime.prototype.dayOfYear.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDateTime/PlainDateTime.prototype.dayOfYear.js index 40e667df12..500d2ab418 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDateTime/PlainDateTime.prototype.dayOfYear.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDateTime/PlainDateTime.prototype.dayOfYear.js @@ -9,6 +9,6 @@ describe("errors", () => { test("this value must be a Temporal.PlainDateTime object", () => { expect(() => { Reflect.get(Temporal.PlainDateTime.prototype, "dayOfYear", "foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.PlainDateTime"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.PlainDateTime"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDateTime/PlainDateTime.prototype.daysInMonth.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDateTime/PlainDateTime.prototype.daysInMonth.js index 890df23eb7..174a423ced 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDateTime/PlainDateTime.prototype.daysInMonth.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDateTime/PlainDateTime.prototype.daysInMonth.js @@ -9,6 +9,6 @@ describe("errors", () => { test("this value must be a Temporal.PlainDateTime object", () => { expect(() => { Reflect.get(Temporal.PlainDateTime.prototype, "daysInMonth", "foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.PlainDateTime"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.PlainDateTime"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDateTime/PlainDateTime.prototype.daysInWeek.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDateTime/PlainDateTime.prototype.daysInWeek.js index e83cfe15e6..0d83c77587 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDateTime/PlainDateTime.prototype.daysInWeek.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDateTime/PlainDateTime.prototype.daysInWeek.js @@ -9,6 +9,6 @@ describe("errors", () => { test("this value must be a Temporal.PlainDateTime object", () => { expect(() => { Reflect.get(Temporal.PlainDateTime.prototype, "daysInWeek", "foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.PlainDateTime"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.PlainDateTime"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDateTime/PlainDateTime.prototype.daysInYear.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDateTime/PlainDateTime.prototype.daysInYear.js index 22c1160ae5..27e76e8caa 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDateTime/PlainDateTime.prototype.daysInYear.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDateTime/PlainDateTime.prototype.daysInYear.js @@ -9,6 +9,6 @@ describe("errors", () => { test("this value must be a Temporal.PlainDateTime object", () => { expect(() => { Reflect.get(Temporal.PlainDateTime.prototype, "daysInYear", "foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.PlainDateTime"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.PlainDateTime"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDateTime/PlainDateTime.prototype.era.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDateTime/PlainDateTime.prototype.era.js index 382237413a..61b3019720 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDateTime/PlainDateTime.prototype.era.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDateTime/PlainDateTime.prototype.era.js @@ -19,6 +19,6 @@ describe("errors", () => { test("this value must be a Temporal.PlainDateTime object", () => { expect(() => { Reflect.get(Temporal.PlainDateTime.prototype, "era", "foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.PlainDateTime"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.PlainDateTime"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDateTime/PlainDateTime.prototype.eraYear.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDateTime/PlainDateTime.prototype.eraYear.js index cb107c8850..565bd36567 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDateTime/PlainDateTime.prototype.eraYear.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDateTime/PlainDateTime.prototype.eraYear.js @@ -19,6 +19,6 @@ describe("errors", () => { test("this value must be a Temporal.PlainDateTime object", () => { expect(() => { Reflect.get(Temporal.PlainDateTime.prototype, "eraYear", "foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.PlainDateTime"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.PlainDateTime"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDateTime/PlainDateTime.prototype.hour.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDateTime/PlainDateTime.prototype.hour.js index a63260f8e1..e9e6d52eb0 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDateTime/PlainDateTime.prototype.hour.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDateTime/PlainDateTime.prototype.hour.js @@ -9,6 +9,6 @@ describe("errors", () => { test("this value must be a Temporal.PlainDateTime object", () => { expect(() => { Reflect.get(Temporal.PlainDateTime.prototype, "hour", "foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.PlainDateTime"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.PlainDateTime"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDateTime/PlainDateTime.prototype.inLeapYear.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDateTime/PlainDateTime.prototype.inLeapYear.js index bfa5db84e9..6e3a3d624f 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDateTime/PlainDateTime.prototype.inLeapYear.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDateTime/PlainDateTime.prototype.inLeapYear.js @@ -9,6 +9,6 @@ describe("errors", () => { test("this value must be a Temporal.PlainDateTime object", () => { expect(() => { Reflect.get(Temporal.PlainDateTime.prototype, "inLeapYear", "foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.PlainDateTime"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.PlainDateTime"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDateTime/PlainDateTime.prototype.microsecond.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDateTime/PlainDateTime.prototype.microsecond.js index aa25b245d1..0c117acd7d 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDateTime/PlainDateTime.prototype.microsecond.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDateTime/PlainDateTime.prototype.microsecond.js @@ -9,6 +9,6 @@ describe("errors", () => { test("this value must be a Temporal.PlainDateTime object", () => { expect(() => { Reflect.get(Temporal.PlainDateTime.prototype, "microsecond", "foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.PlainDateTime"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.PlainDateTime"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDateTime/PlainDateTime.prototype.millisecond.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDateTime/PlainDateTime.prototype.millisecond.js index 3a705303be..66b11e4922 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDateTime/PlainDateTime.prototype.millisecond.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDateTime/PlainDateTime.prototype.millisecond.js @@ -9,6 +9,6 @@ describe("errors", () => { test("this value must be a Temporal.PlainDateTime object", () => { expect(() => { Reflect.get(Temporal.PlainDateTime.prototype, "millisecond", "foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.PlainDateTime"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.PlainDateTime"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDateTime/PlainDateTime.prototype.minute.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDateTime/PlainDateTime.prototype.minute.js index 1e9ba275ff..47bd03f8a9 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDateTime/PlainDateTime.prototype.minute.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDateTime/PlainDateTime.prototype.minute.js @@ -9,6 +9,6 @@ describe("errors", () => { test("this value must be a Temporal.PlainDateTime object", () => { expect(() => { Reflect.get(Temporal.PlainDateTime.prototype, "minute", "foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.PlainDateTime"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.PlainDateTime"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDateTime/PlainDateTime.prototype.month.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDateTime/PlainDateTime.prototype.month.js index 82d8a47323..1304350612 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDateTime/PlainDateTime.prototype.month.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDateTime/PlainDateTime.prototype.month.js @@ -9,6 +9,6 @@ describe("errors", () => { test("this value must be a Temporal.PlainDateTime object", () => { expect(() => { Reflect.get(Temporal.PlainDateTime.prototype, "month", "foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.PlainDateTime"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.PlainDateTime"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDateTime/PlainDateTime.prototype.monthCode.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDateTime/PlainDateTime.prototype.monthCode.js index 000d075ef3..da755b413f 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDateTime/PlainDateTime.prototype.monthCode.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDateTime/PlainDateTime.prototype.monthCode.js @@ -9,6 +9,6 @@ describe("errors", () => { test("this value must be a Temporal.PlainDateTime object", () => { expect(() => { Reflect.get(Temporal.PlainDateTime.prototype, "monthCode", "foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.PlainDateTime"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.PlainDateTime"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDateTime/PlainDateTime.prototype.monthsInYear.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDateTime/PlainDateTime.prototype.monthsInYear.js index e7cda481eb..4c7167ef58 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDateTime/PlainDateTime.prototype.monthsInYear.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDateTime/PlainDateTime.prototype.monthsInYear.js @@ -9,6 +9,6 @@ describe("errors", () => { test("this value must be a Temporal.PlainDateTime object", () => { expect(() => { Reflect.get(Temporal.PlainDateTime.prototype, "monthsInYear", "foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.PlainDateTime"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.PlainDateTime"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDateTime/PlainDateTime.prototype.nanosecond.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDateTime/PlainDateTime.prototype.nanosecond.js index 75e2d0259e..ef4cced316 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDateTime/PlainDateTime.prototype.nanosecond.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDateTime/PlainDateTime.prototype.nanosecond.js @@ -9,6 +9,6 @@ describe("errors", () => { test("this value must be a Temporal.PlainDateTime object", () => { expect(() => { Reflect.get(Temporal.PlainDateTime.prototype, "nanosecond", "foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.PlainDateTime"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.PlainDateTime"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDateTime/PlainDateTime.prototype.second.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDateTime/PlainDateTime.prototype.second.js index 62182078d0..1becf5cfe5 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDateTime/PlainDateTime.prototype.second.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDateTime/PlainDateTime.prototype.second.js @@ -9,6 +9,6 @@ describe("errors", () => { test("this value must be a Temporal.PlainDateTime object", () => { expect(() => { Reflect.get(Temporal.PlainDateTime.prototype, "second", "foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.PlainDateTime"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.PlainDateTime"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDateTime/PlainDateTime.prototype.weekOfYear.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDateTime/PlainDateTime.prototype.weekOfYear.js index 8df9278ce7..0e801b423b 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDateTime/PlainDateTime.prototype.weekOfYear.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDateTime/PlainDateTime.prototype.weekOfYear.js @@ -9,6 +9,6 @@ describe("errors", () => { test("this value must be a Temporal.PlainDateTime object", () => { expect(() => { Reflect.get(Temporal.PlainDateTime.prototype, "weekOfYear", "foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.PlainDateTime"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.PlainDateTime"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDateTime/PlainDateTime.prototype.year.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDateTime/PlainDateTime.prototype.year.js index 4507df98bd..ae1c2f1694 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDateTime/PlainDateTime.prototype.year.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDateTime/PlainDateTime.prototype.year.js @@ -9,6 +9,6 @@ describe("errors", () => { test("this value must be a Temporal.PlainDateTime object", () => { expect(() => { Reflect.get(Temporal.PlainDateTime.prototype, "year", "foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.PlainDateTime"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.PlainDateTime"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainMonthDay/PlainMonthDay.prototype.calendar.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainMonthDay/PlainMonthDay.prototype.calendar.js index e699dcf4e6..9ab89accaf 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainMonthDay/PlainMonthDay.prototype.calendar.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainMonthDay/PlainMonthDay.prototype.calendar.js @@ -10,6 +10,6 @@ describe("errors", () => { test("this value must be a Temporal.PlainMonthDay object", () => { expect(() => { Reflect.get(Temporal.PlainMonthDay.prototype, "calendar", "foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.PlainMonthDay"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.PlainMonthDay"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainMonthDay/PlainMonthDay.prototype.day.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainMonthDay/PlainMonthDay.prototype.day.js index 4a0db67db1..e9807f1286 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainMonthDay/PlainMonthDay.prototype.day.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainMonthDay/PlainMonthDay.prototype.day.js @@ -9,6 +9,6 @@ describe("errors", () => { test("this value must be a Temporal.PlainMonthDay object", () => { expect(() => { Reflect.get(Temporal.PlainMonthDay.prototype, "day", "foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.PlainMonthDay"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.PlainMonthDay"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainMonthDay/PlainMonthDay.prototype.getISOFields.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainMonthDay/PlainMonthDay.prototype.getISOFields.js index 29feff968f..11475b5a31 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainMonthDay/PlainMonthDay.prototype.getISOFields.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainMonthDay/PlainMonthDay.prototype.getISOFields.js @@ -22,6 +22,6 @@ describe("errors", () => { test("this value must be a Temporal.PlainMonthDay object", () => { expect(() => { Temporal.PlainMonthDay.prototype.getISOFields.call("foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.PlainMonthDay"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.PlainMonthDay"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainMonthDay/PlainMonthDay.prototype.monthCode.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainMonthDay/PlainMonthDay.prototype.monthCode.js index b662d26c90..2943794e49 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainMonthDay/PlainMonthDay.prototype.monthCode.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainMonthDay/PlainMonthDay.prototype.monthCode.js @@ -9,6 +9,6 @@ describe("errors", () => { test("this value must be a Temporal.PlainMonthDay object", () => { expect(() => { Reflect.get(Temporal.PlainMonthDay.prototype, "monthCode", "foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.PlainMonthDay"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.PlainMonthDay"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainMonthDay/PlainMonthDay.prototype.toJSON.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainMonthDay/PlainMonthDay.prototype.toJSON.js index ea568c8fff..99cb9a93a2 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainMonthDay/PlainMonthDay.prototype.toJSON.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainMonthDay/PlainMonthDay.prototype.toJSON.js @@ -18,6 +18,6 @@ describe("errors", () => { test("this value must be a Temporal.PlainMonthDay object", () => { expect(() => { Temporal.PlainMonthDay.prototype.toJSON.call("foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.PlainMonthDay"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.PlainMonthDay"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainMonthDay/PlainMonthDay.prototype.toLocaleString.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainMonthDay/PlainMonthDay.prototype.toLocaleString.js index 388c4269f1..6d459cc7c1 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainMonthDay/PlainMonthDay.prototype.toLocaleString.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainMonthDay/PlainMonthDay.prototype.toLocaleString.js @@ -18,6 +18,6 @@ describe("errors", () => { test("this value must be a Temporal.PlainMonthDay object", () => { expect(() => { Temporal.PlainMonthDay.prototype.toLocaleString.call("foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.PlainMonthDay"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.PlainMonthDay"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainMonthDay/PlainMonthDay.prototype.toString.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainMonthDay/PlainMonthDay.prototype.toString.js index df09430402..8a1c4b1da2 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainMonthDay/PlainMonthDay.prototype.toString.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainMonthDay/PlainMonthDay.prototype.toString.js @@ -24,7 +24,7 @@ describe("errors", () => { test("this value must be a Temporal.PlainMonthDay object", () => { expect(() => { Temporal.PlainMonthDay.prototype.toString.call("foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.PlainMonthDay"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.PlainMonthDay"); }); test("calendarName option must be one of 'auto', 'always', 'never'", () => { diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainTime/PlainTime.prototype.calendar.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainTime/PlainTime.prototype.calendar.js index 9d85e7c4c7..188ce77a66 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainTime/PlainTime.prototype.calendar.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainTime/PlainTime.prototype.calendar.js @@ -10,6 +10,6 @@ describe("errors", () => { test("this value must be a Temporal.PlainTime object", () => { expect(() => { Reflect.get(Temporal.PlainTime.prototype, "calendar", "foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.PlainTime"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.PlainTime"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainTime/PlainTime.prototype.hour.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainTime/PlainTime.prototype.hour.js index f735a3b8d7..8a8533ca04 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainTime/PlainTime.prototype.hour.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainTime/PlainTime.prototype.hour.js @@ -9,6 +9,6 @@ describe("errors", () => { test("this value must be a Temporal.PlainTime object", () => { expect(() => { Reflect.get(Temporal.PlainTime.prototype, "hour", "foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.PlainTime"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.PlainTime"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainTime/PlainTime.prototype.microsecond.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainTime/PlainTime.prototype.microsecond.js index cb019f9d5c..ad550b82cc 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainTime/PlainTime.prototype.microsecond.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainTime/PlainTime.prototype.microsecond.js @@ -9,6 +9,6 @@ describe("errors", () => { test("this value must be a Temporal.PlainTime object", () => { expect(() => { Reflect.get(Temporal.PlainTime.prototype, "microsecond", "foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.PlainTime"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.PlainTime"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainTime/PlainTime.prototype.millisecond.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainTime/PlainTime.prototype.millisecond.js index 656669afdb..dee6507992 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainTime/PlainTime.prototype.millisecond.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainTime/PlainTime.prototype.millisecond.js @@ -9,6 +9,6 @@ describe("errors", () => { test("this value must be a Temporal.PlainTime object", () => { expect(() => { Reflect.get(Temporal.PlainTime.prototype, "millisecond", "foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.PlainTime"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.PlainTime"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainTime/PlainTime.prototype.minute.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainTime/PlainTime.prototype.minute.js index 62253ff131..c3f39842d8 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainTime/PlainTime.prototype.minute.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainTime/PlainTime.prototype.minute.js @@ -9,6 +9,6 @@ describe("errors", () => { test("this value must be a Temporal.PlainTime object", () => { expect(() => { Reflect.get(Temporal.PlainTime.prototype, "minute", "foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.PlainTime"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.PlainTime"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainTime/PlainTime.prototype.nanosecond.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainTime/PlainTime.prototype.nanosecond.js index 62cfc7d0a7..ef7c9b9ed9 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainTime/PlainTime.prototype.nanosecond.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainTime/PlainTime.prototype.nanosecond.js @@ -9,6 +9,6 @@ describe("errors", () => { test("this value must be a Temporal.PlainTime object", () => { expect(() => { Reflect.get(Temporal.PlainTime.prototype, "nanosecond", "foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.PlainTime"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.PlainTime"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainTime/PlainTime.prototype.second.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainTime/PlainTime.prototype.second.js index db41d6fa51..b0687ee571 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainTime/PlainTime.prototype.second.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainTime/PlainTime.prototype.second.js @@ -9,6 +9,6 @@ describe("errors", () => { test("this value must be a Temporal.PlainTime object", () => { expect(() => { Reflect.get(Temporal.PlainTime.prototype, "second", "foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.PlainTime"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.PlainTime"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainTime/PlainTime.prototype.toJSON.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainTime/PlainTime.prototype.toJSON.js index 5279be6222..2a94c3d2b3 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainTime/PlainTime.prototype.toJSON.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainTime/PlainTime.prototype.toJSON.js @@ -13,6 +13,6 @@ describe("errors", () => { test("this value must be a Temporal.PlainTime object", () => { expect(() => { Temporal.PlainTime.prototype.toJSON.call("foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.PlainTime"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.PlainTime"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainTime/PlainTime.prototype.toLocaleString.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainTime/PlainTime.prototype.toLocaleString.js index 05a5ce420e..f0b2ab1a0b 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainTime/PlainTime.prototype.toLocaleString.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainTime/PlainTime.prototype.toLocaleString.js @@ -13,6 +13,6 @@ describe("errors", () => { test("this value must be a Temporal.PlainTime object", () => { expect(() => { Temporal.PlainTime.prototype.toLocaleString.call("foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.PlainTime"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.PlainTime"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainTime/PlainTime.prototype.toString.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainTime/PlainTime.prototype.toString.js index cd82fae03f..3f5ccd9fa8 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainTime/PlainTime.prototype.toString.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainTime/PlainTime.prototype.toString.js @@ -54,6 +54,6 @@ describe("errors", () => { test("this value must be a Temporal.PlainTime object", () => { expect(() => { Temporal.PlainTime.prototype.toString.call("foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.PlainTime"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.PlainTime"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainTime/PlainTime.prototype.with.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainTime/PlainTime.prototype.with.js index a0ffa7fb99..a0cb94ba1f 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainTime/PlainTime.prototype.with.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainTime/PlainTime.prototype.with.js @@ -62,7 +62,7 @@ describe("errors", () => { test("this value must be a Temporal.PlainTime object", () => { expect(() => { Temporal.PlainTime.prototype.with.call("foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.PlainTime object"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.PlainTime"); }); test("argument is not an object", () => { diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainYearMonth/PlainYearMonth.prototype.calendar.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainYearMonth/PlainYearMonth.prototype.calendar.js index 9b80816de8..a5e31c04cf 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainYearMonth/PlainYearMonth.prototype.calendar.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainYearMonth/PlainYearMonth.prototype.calendar.js @@ -10,6 +10,6 @@ describe("errors", () => { test("this value must be a Temporal.PlainYearMonth object", () => { expect(() => { Reflect.get(Temporal.PlainYearMonth.prototype, "calendar", "foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.PlainYearMonth"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.PlainYearMonth"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainYearMonth/PlainYearMonth.prototype.daysInMonth.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainYearMonth/PlainYearMonth.prototype.daysInMonth.js index cca56fbfdb..59c07055d4 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainYearMonth/PlainYearMonth.prototype.daysInMonth.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainYearMonth/PlainYearMonth.prototype.daysInMonth.js @@ -9,6 +9,6 @@ describe("errors", () => { test("this value must be a Temporal.PlainYearMonth object", () => { expect(() => { Reflect.get(Temporal.PlainYearMonth.prototype, "daysInMonth", "foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.PlainYearMonth"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.PlainYearMonth"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainYearMonth/PlainYearMonth.prototype.daysInYear.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainYearMonth/PlainYearMonth.prototype.daysInYear.js index d810a1da10..a0a114902f 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainYearMonth/PlainYearMonth.prototype.daysInYear.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainYearMonth/PlainYearMonth.prototype.daysInYear.js @@ -9,6 +9,6 @@ describe("errors", () => { test("this value must be a Temporal.PlainYearMonth object", () => { expect(() => { Reflect.get(Temporal.PlainYearMonth.prototype, "daysInYear", "foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.PlainYearMonth"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.PlainYearMonth"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainYearMonth/PlainYearMonth.prototype.era.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainYearMonth/PlainYearMonth.prototype.era.js index 5987e281c0..f3ccc9a5a8 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainYearMonth/PlainYearMonth.prototype.era.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainYearMonth/PlainYearMonth.prototype.era.js @@ -19,6 +19,6 @@ describe("errors", () => { test("this value must be a Temporal.PlainYearMonth object", () => { expect(() => { Reflect.get(Temporal.PlainYearMonth.prototype, "era", "foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.PlainYearMonth"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.PlainYearMonth"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainYearMonth/PlainYearMonth.prototype.eraYear.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainYearMonth/PlainYearMonth.prototype.eraYear.js index 22bdd70799..88effcb4cc 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainYearMonth/PlainYearMonth.prototype.eraYear.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainYearMonth/PlainYearMonth.prototype.eraYear.js @@ -19,6 +19,6 @@ describe("errors", () => { test("this value must be a Temporal.PlainYearMonth object", () => { expect(() => { Reflect.get(Temporal.PlainYearMonth.prototype, "eraYear", "foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.PlainYearMonth"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.PlainYearMonth"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainYearMonth/PlainYearMonth.prototype.getISOFields.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainYearMonth/PlainYearMonth.prototype.getISOFields.js index db8ac2b24b..be42ba9c89 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainYearMonth/PlainYearMonth.prototype.getISOFields.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainYearMonth/PlainYearMonth.prototype.getISOFields.js @@ -22,6 +22,6 @@ describe("errors", () => { test("this value must be a Temporal.PlainYearMonth object", () => { expect(() => { Temporal.PlainYearMonth.prototype.getISOFields.call("foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.PlainYearMonth"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.PlainYearMonth"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainYearMonth/PlainYearMonth.prototype.inLeapYear.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainYearMonth/PlainYearMonth.prototype.inLeapYear.js index 74e8d2b47e..f79e77e7bd 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainYearMonth/PlainYearMonth.prototype.inLeapYear.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainYearMonth/PlainYearMonth.prototype.inLeapYear.js @@ -9,6 +9,6 @@ describe("errors", () => { test("this value must be a Temporal.PlainYearMonth object", () => { expect(() => { Reflect.get(Temporal.PlainYearMonth.prototype, "inLeapYear", "foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.PlainYearMonth"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.PlainYearMonth"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainYearMonth/PlainYearMonth.prototype.month.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainYearMonth/PlainYearMonth.prototype.month.js index 53bb0a515f..8c09f11cbe 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainYearMonth/PlainYearMonth.prototype.month.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainYearMonth/PlainYearMonth.prototype.month.js @@ -9,6 +9,6 @@ describe("errors", () => { test("this value must be a Temporal.PlainYearMonth object", () => { expect(() => { Reflect.get(Temporal.PlainYearMonth.prototype, "month", "foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.PlainYearMonth"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.PlainYearMonth"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainYearMonth/PlainYearMonth.prototype.monthCode.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainYearMonth/PlainYearMonth.prototype.monthCode.js index f2e5adb2f0..8fdd1852da 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainYearMonth/PlainYearMonth.prototype.monthCode.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainYearMonth/PlainYearMonth.prototype.monthCode.js @@ -9,6 +9,6 @@ describe("errors", () => { test("this value must be a Temporal.PlainYearMonth object", () => { expect(() => { Reflect.get(Temporal.PlainYearMonth.prototype, "monthCode", "foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.PlainYearMonth"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.PlainYearMonth"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainYearMonth/PlainYearMonth.prototype.monthsInYear.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainYearMonth/PlainYearMonth.prototype.monthsInYear.js index 8e995808cf..6ca5f84084 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainYearMonth/PlainYearMonth.prototype.monthsInYear.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainYearMonth/PlainYearMonth.prototype.monthsInYear.js @@ -9,6 +9,6 @@ describe("errors", () => { test("this value must be a Temporal.PlainYearMonth object", () => { expect(() => { Reflect.get(Temporal.PlainYearMonth.prototype, "monthsInYear", "foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.PlainYearMonth"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.PlainYearMonth"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainYearMonth/PlainYearMonth.prototype.toJSON.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainYearMonth/PlainYearMonth.prototype.toJSON.js index dff2d5679d..88251a8259 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainYearMonth/PlainYearMonth.prototype.toJSON.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainYearMonth/PlainYearMonth.prototype.toJSON.js @@ -18,6 +18,6 @@ describe("errors", () => { test("this value must be a Temporal.PlainYearMonth object", () => { expect(() => { Temporal.PlainYearMonth.prototype.toJSON.call("foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.PlainYearMonth"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.PlainYearMonth"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainYearMonth/PlainYearMonth.prototype.toLocaleString.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainYearMonth/PlainYearMonth.prototype.toLocaleString.js index ec4879c6e1..d3832b2bda 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainYearMonth/PlainYearMonth.prototype.toLocaleString.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainYearMonth/PlainYearMonth.prototype.toLocaleString.js @@ -18,6 +18,6 @@ describe("errors", () => { test("this value must be a Temporal.PlainYearMonth object", () => { expect(() => { Temporal.PlainYearMonth.prototype.toLocaleString.call("foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.PlainYearMonth"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.PlainYearMonth"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainYearMonth/PlainYearMonth.prototype.toString.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainYearMonth/PlainYearMonth.prototype.toString.js index fbba95d912..ef7b6433cb 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainYearMonth/PlainYearMonth.prototype.toString.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainYearMonth/PlainYearMonth.prototype.toString.js @@ -39,7 +39,7 @@ describe("errors", () => { test("this value must be a Temporal.PlainYearMonth object", () => { expect(() => { Temporal.PlainYearMonth.prototype.toString.call("foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.PlainYearMonth"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.PlainYearMonth"); }); test("calendarName option must be one of 'auto', 'always', 'never'", () => { diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainYearMonth/PlainYearMonth.prototype.year.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainYearMonth/PlainYearMonth.prototype.year.js index bf7ab1228c..13e0021ab3 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainYearMonth/PlainYearMonth.prototype.year.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainYearMonth/PlainYearMonth.prototype.year.js @@ -9,6 +9,6 @@ describe("errors", () => { test("this value must be a Temporal.PlainYearMonth object", () => { expect(() => { Reflect.get(Temporal.PlainYearMonth.prototype, "year", "foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.PlainYearMonth"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.PlainYearMonth"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/TimeZone/TimeZone.prototype.getOffsetNanosecondsFor.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/TimeZone/TimeZone.prototype.getOffsetNanosecondsFor.js index fb190067ea..3b9d3dd955 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/TimeZone/TimeZone.prototype.getOffsetNanosecondsFor.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/TimeZone/TimeZone.prototype.getOffsetNanosecondsFor.js @@ -20,6 +20,6 @@ describe("errors", () => { test("this value must be a Temporal.TimeZone object", () => { expect(() => { Temporal.TimeZone.prototype.getOffsetNanosecondsFor.call("foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.TimeZone"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.TimeZone"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/TimeZone/TimeZone.prototype.getOffsetStringFor.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/TimeZone/TimeZone.prototype.getOffsetStringFor.js index 27ad3ab11e..b8a07573ea 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/TimeZone/TimeZone.prototype.getOffsetStringFor.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/TimeZone/TimeZone.prototype.getOffsetStringFor.js @@ -20,6 +20,6 @@ describe("errors", () => { test("this value must be a Temporal.TimeZone object", () => { expect(() => { Temporal.TimeZone.prototype.getOffsetStringFor.call("foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.TimeZone"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.TimeZone"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/TimeZone/TimeZone.prototype.toString.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/TimeZone/TimeZone.prototype.toString.js index a82f0beb49..bfefb3ac93 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/TimeZone/TimeZone.prototype.toString.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/TimeZone/TimeZone.prototype.toString.js @@ -13,6 +13,6 @@ describe("errors", () => { test("this value must be a Temporal.TimeZone object", () => { expect(() => { Temporal.TimeZone.prototype.toString.call("foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.TimeZone"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.TimeZone"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.calendar.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.calendar.js index 1b3dcf4eec..53d9135c1b 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.calendar.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.calendar.js @@ -11,6 +11,6 @@ describe("errors", () => { test("this value must be a Temporal.ZonedDateTime object", () => { expect(() => { Reflect.get(Temporal.ZonedDateTime.prototype, "calendar", "foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.ZonedDateTime"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.ZonedDateTime"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.day.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.day.js index 4cb6fa0c0b..a1a0766045 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.day.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.day.js @@ -10,6 +10,6 @@ describe("errors", () => { test("this value must be a Temporal.ZonedDateTime object", () => { expect(() => { Reflect.get(Temporal.ZonedDateTime.prototype, "day", "foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.ZonedDateTime"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.ZonedDateTime"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.dayOfWeek.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.dayOfWeek.js index 239e9ba1f5..e1fb8e41de 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.dayOfWeek.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.dayOfWeek.js @@ -10,6 +10,6 @@ describe("errors", () => { test("this value must be a Temporal.ZonedDateTime object", () => { expect(() => { Reflect.get(Temporal.ZonedDateTime.prototype, "dayOfWeek", "foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.ZonedDateTime"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.ZonedDateTime"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.dayOfYear.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.dayOfYear.js index d7ec8391eb..b01db8a25c 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.dayOfYear.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.dayOfYear.js @@ -10,6 +10,6 @@ describe("errors", () => { test("this value must be a Temporal.ZonedDateTime object", () => { expect(() => { Reflect.get(Temporal.ZonedDateTime.prototype, "dayOfYear", "foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.ZonedDateTime"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.ZonedDateTime"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.daysInMonth.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.daysInMonth.js index 3f70013104..741ae3e480 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.daysInMonth.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.daysInMonth.js @@ -10,6 +10,6 @@ describe("errors", () => { test("this value must be a Temporal.ZonedDateTime object", () => { expect(() => { Reflect.get(Temporal.ZonedDateTime.prototype, "daysInMonth", "foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.ZonedDateTime"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.ZonedDateTime"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.daysInWeek.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.daysInWeek.js index 3e45acaf1f..e0be6b61f9 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.daysInWeek.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.daysInWeek.js @@ -10,6 +10,6 @@ describe("errors", () => { test("this value must be a Temporal.ZonedDateTime object", () => { expect(() => { Reflect.get(Temporal.ZonedDateTime.prototype, "daysInWeek", "foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.ZonedDateTime"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.ZonedDateTime"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.daysInYear.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.daysInYear.js index 3a1da70b05..3e724ecb51 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.daysInYear.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.daysInYear.js @@ -10,6 +10,6 @@ describe("errors", () => { test("this value must be a Temporal.ZonedDateTime object", () => { expect(() => { Reflect.get(Temporal.ZonedDateTime.prototype, "daysInYear", "foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.ZonedDateTime"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.ZonedDateTime"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.epochMicroseconds.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.epochMicroseconds.js index c64c994b48..7cdbf3c3fe 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.epochMicroseconds.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.epochMicroseconds.js @@ -10,6 +10,6 @@ describe("errors", () => { test("this value must be a Temporal.ZonedDateTime object", () => { expect(() => { Reflect.get(Temporal.ZonedDateTime.prototype, "epochMicroseconds", "foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.ZonedDateTime"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.ZonedDateTime"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.epochMilliseconds.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.epochMilliseconds.js index 5653638f80..381401e70f 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.epochMilliseconds.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.epochMilliseconds.js @@ -10,6 +10,6 @@ describe("errors", () => { test("this value must be a Temporal.ZonedDateTime object", () => { expect(() => { Reflect.get(Temporal.ZonedDateTime.prototype, "epochMilliseconds", "foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.ZonedDateTime"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.ZonedDateTime"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.epochNanoseconds.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.epochNanoseconds.js index 185d07d647..9c0e466e76 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.epochNanoseconds.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.epochNanoseconds.js @@ -10,6 +10,6 @@ describe("errors", () => { test("this value must be a Temporal.ZonedDateTime object", () => { expect(() => { Reflect.get(Temporal.ZonedDateTime.prototype, "epochNanoseconds", "foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.ZonedDateTime"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.ZonedDateTime"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.epochSeconds.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.epochSeconds.js index a5167b71de..e764aaf91c 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.epochSeconds.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.epochSeconds.js @@ -10,6 +10,6 @@ describe("errors", () => { test("this value must be a Temporal.ZonedDateTime object", () => { expect(() => { Reflect.get(Temporal.ZonedDateTime.prototype, "epochSeconds", "foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.ZonedDateTime"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.ZonedDateTime"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.era.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.era.js index 60beef255f..dce541c0a8 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.era.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.era.js @@ -21,6 +21,6 @@ describe("errors", () => { test("this value must be a Temporal.ZonedDateTime object", () => { expect(() => { Reflect.get(Temporal.ZonedDateTime.prototype, "era", "foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.ZonedDateTime"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.ZonedDateTime"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.eraYear.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.eraYear.js index 304d9eea02..4ec60dc451 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.eraYear.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.eraYear.js @@ -21,6 +21,6 @@ describe("errors", () => { test("this value must be a Temporal.ZonedDateTime object", () => { expect(() => { Reflect.get(Temporal.ZonedDateTime.prototype, "eraYear", "foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.ZonedDateTime"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.ZonedDateTime"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.getISOFields.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.getISOFields.js index bce2593455..89394f694e 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.getISOFields.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.getISOFields.js @@ -44,6 +44,6 @@ describe("errors", () => { test("this value must be a Temporal.ZonedDateTime object", () => { expect(() => { Temporal.ZonedDateTime.prototype.getISOFields.call("foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.ZonedDateTime"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.ZonedDateTime"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.hour.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.hour.js index 536f856669..92a423922a 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.hour.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.hour.js @@ -10,6 +10,6 @@ describe("errors", () => { test("this value must be a Temporal.ZonedDateTime object", () => { expect(() => { Reflect.get(Temporal.ZonedDateTime.prototype, "hour", "foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.ZonedDateTime"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.ZonedDateTime"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.inLeapYear.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.inLeapYear.js index a5dd6c2f69..88b546bcac 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.inLeapYear.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.inLeapYear.js @@ -10,6 +10,6 @@ describe("errors", () => { test("this value must be a Temporal.ZonedDateTime object", () => { expect(() => { Reflect.get(Temporal.ZonedDateTime.prototype, "inLeapYear", "foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.ZonedDateTime"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.ZonedDateTime"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.microsecond.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.microsecond.js index 6f45616d4c..2b49a6c627 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.microsecond.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.microsecond.js @@ -10,6 +10,6 @@ describe("errors", () => { test("this value must be a Temporal.ZonedDateTime object", () => { expect(() => { Reflect.get(Temporal.ZonedDateTime.prototype, "microsecond", "foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.ZonedDateTime"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.ZonedDateTime"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.millisecond.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.millisecond.js index 03f9ddcd9f..eb5aa72113 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.millisecond.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.millisecond.js @@ -10,6 +10,6 @@ describe("errors", () => { test("this value must be a Temporal.ZonedDateTime object", () => { expect(() => { Reflect.get(Temporal.ZonedDateTime.prototype, "millisecond", "foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.ZonedDateTime"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.ZonedDateTime"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.minute.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.minute.js index 99360ce296..f897763473 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.minute.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.minute.js @@ -10,6 +10,6 @@ describe("errors", () => { test("this value must be a Temporal.ZonedDateTime object", () => { expect(() => { Reflect.get(Temporal.ZonedDateTime.prototype, "minute", "foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.ZonedDateTime"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.ZonedDateTime"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.month.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.month.js index 042493e29b..08a57c8503 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.month.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.month.js @@ -10,6 +10,6 @@ describe("errors", () => { test("this value must be a Temporal.ZonedDateTime object", () => { expect(() => { Reflect.get(Temporal.ZonedDateTime.prototype, "month", "foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.ZonedDateTime"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.ZonedDateTime"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.monthCode.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.monthCode.js index e96e5189e2..5c41c42b9f 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.monthCode.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.monthCode.js @@ -10,6 +10,6 @@ describe("errors", () => { test("this value must be a Temporal.ZonedDateTime object", () => { expect(() => { Reflect.get(Temporal.ZonedDateTime.prototype, "monthCode", "foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.ZonedDateTime"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.ZonedDateTime"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.monthsInYear.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.monthsInYear.js index 15a0980beb..e0c3e0c6a1 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.monthsInYear.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.monthsInYear.js @@ -10,6 +10,6 @@ describe("errors", () => { test("this value must be a Temporal.ZonedDateTime object", () => { expect(() => { Reflect.get(Temporal.ZonedDateTime.prototype, "monthsInYear", "foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.ZonedDateTime"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.ZonedDateTime"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.nanosecond.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.nanosecond.js index 1e6745cab2..0caf652a85 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.nanosecond.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.nanosecond.js @@ -10,6 +10,6 @@ describe("errors", () => { test("this value must be a Temporal.ZonedDateTime object", () => { expect(() => { Reflect.get(Temporal.ZonedDateTime.prototype, "nanosecond", "foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.ZonedDateTime"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.ZonedDateTime"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.offset.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.offset.js index 2c2a826e30..bf3945bb79 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.offset.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.offset.js @@ -16,6 +16,6 @@ describe("errors", () => { test("this value must be a Temporal.ZonedDateTime object", () => { expect(() => { Reflect.get(Temporal.ZonedDateTime.prototype, "offset", "foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.ZonedDateTime"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.ZonedDateTime"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.offsetNanoseconds.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.offsetNanoseconds.js index 6ac6db40f5..1fe611c729 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.offsetNanoseconds.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.offsetNanoseconds.js @@ -16,6 +16,6 @@ describe("errors", () => { test("this value must be a Temporal.ZonedDateTime object", () => { expect(() => { Reflect.get(Temporal.ZonedDateTime.prototype, "offsetNanoseconds", "foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.ZonedDateTime"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.ZonedDateTime"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.second.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.second.js index d0a13e8414..c759b0d73b 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.second.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.second.js @@ -10,6 +10,6 @@ describe("errors", () => { test("this value must be a Temporal.ZonedDateTime object", () => { expect(() => { Reflect.get(Temporal.ZonedDateTime.prototype, "second", "foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.ZonedDateTime"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.ZonedDateTime"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.timeZone.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.timeZone.js index 7de20724a3..21c97b5679 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.timeZone.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.timeZone.js @@ -10,6 +10,6 @@ describe("errors", () => { test("this value must be a Temporal.ZonedDateTime object", () => { expect(() => { Reflect.get(Temporal.ZonedDateTime.prototype, "timeZone", "foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.ZonedDateTime"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.ZonedDateTime"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.toInstant.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.toInstant.js index 98e62eba52..453779f603 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.toInstant.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.toInstant.js @@ -16,6 +16,6 @@ describe("errors", () => { test("this value must be a Temporal.ZonedDateTime object", () => { expect(() => { Temporal.ZonedDateTime.prototype.toInstant.call("foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.ZonedDateTime"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.ZonedDateTime"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.toPlainDate.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.toPlainDate.js index e5babceb47..9cd4ae467a 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.toPlainDate.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.toPlainDate.js @@ -18,6 +18,6 @@ describe("errors", () => { test("this value must be a Temporal.ZonedDateTime object", () => { expect(() => { Temporal.ZonedDateTime.prototype.toPlainDate.call("foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.ZonedDateTime"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.ZonedDateTime"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.toPlainDateTime.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.toPlainDateTime.js index 71407ef04f..cc8013ecae 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.toPlainDateTime.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.toPlainDateTime.js @@ -24,6 +24,6 @@ describe("errors", () => { test("this value must be a Temporal.ZonedDateTime object", () => { expect(() => { Temporal.ZonedDateTime.prototype.toPlainDateTime.call("foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.ZonedDateTime"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.ZonedDateTime"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.toPlainTime.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.toPlainTime.js index e6ba21a815..6d2586e1d1 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.toPlainTime.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.toPlainTime.js @@ -21,6 +21,6 @@ describe("errors", () => { test("this value must be a Temporal.ZonedDateTime object", () => { expect(() => { Temporal.ZonedDateTime.prototype.toPlainTime.call("foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.ZonedDateTime"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.ZonedDateTime"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.weekOfYear.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.weekOfYear.js index fc715ea7f5..e6dfb9cb57 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.weekOfYear.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.weekOfYear.js @@ -10,6 +10,6 @@ describe("errors", () => { test("this value must be a Temporal.ZonedDateTime object", () => { expect(() => { Reflect.get(Temporal.ZonedDateTime.prototype, "weekOfYear", "foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.ZonedDateTime"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.ZonedDateTime"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.year.js b/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.year.js index e97e210123..e268f23ae7 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.year.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.year.js @@ -10,6 +10,6 @@ describe("errors", () => { test("this value must be a Temporal.ZonedDateTime object", () => { expect(() => { Reflect.get(Temporal.ZonedDateTime.prototype, "year", "foo"); - }).toThrowWithMessage(TypeError, "Not a Temporal.ZonedDateTime"); + }).toThrowWithMessage(TypeError, "Not an object of type Temporal.ZonedDateTime"); }); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/TypedArray/TypedArray.prototype.filter.js b/Userland/Libraries/LibJS/Tests/builtins/TypedArray/TypedArray.prototype.filter.js index a242efe3cf..b33ace787b 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/TypedArray/TypedArray.prototype.filter.js +++ b/Userland/Libraries/LibJS/Tests/builtins/TypedArray/TypedArray.prototype.filter.js @@ -89,7 +89,7 @@ describe("errors", () => { expect(() => { result = new TypedArray().filter(() => {}); - }).toThrowWithMessage(TypeError, "Not a TypedArray object"); + }).toThrowWithMessage(TypeError, "Not an object of type TypedArray"); expect(result).toBeUndefined(); }); @@ -105,7 +105,7 @@ describe("errors", () => { expect(() => { result = new TypedArray().filter(() => {}); - }).toThrowWithMessage(TypeError, "Not a TypedArray object"); + }).toThrowWithMessage(TypeError, "Not an object of type TypedArray"); expect(result).toBeUndefined(); }); diff --git a/Userland/Libraries/LibJS/Tests/builtins/TypedArray/TypedArray.prototype.map.js b/Userland/Libraries/LibJS/Tests/builtins/TypedArray/TypedArray.prototype.map.js index da25a55de4..622d3a3224 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/TypedArray/TypedArray.prototype.map.js +++ b/Userland/Libraries/LibJS/Tests/builtins/TypedArray/TypedArray.prototype.map.js @@ -121,7 +121,7 @@ describe("errors", () => { expect(() => { result = new TypedArray().map(() => {}); - }).toThrowWithMessage(TypeError, "Not a TypedArray object"); + }).toThrowWithMessage(TypeError, "Not an object of type TypedArray"); expect(result).toBeUndefined(); }); @@ -137,7 +137,7 @@ describe("errors", () => { expect(() => { result = new TypedArray().map(() => {}); - }).toThrowWithMessage(TypeError, "Not a TypedArray object"); + }).toThrowWithMessage(TypeError, "Not an object of type TypedArray"); expect(result).toBeUndefined(); }); |