From 76589d67282f3baf5a79219ba45ba9696416e26e Mon Sep 17 00:00:00 2001 From: Timothy Flynn Date: Sat, 11 Sep 2021 15:00:40 -0400 Subject: [PATCH] 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. --- Userland/Libraries/LibJS/Runtime/ErrorTypes.h | 2 +- .../Tests/builtins/BigInt/BigInt.prototype.toLocaleString.js | 2 +- .../LibJS/Tests/builtins/BigInt/BigInt.prototype.toString.js | 2 +- .../LibJS/Tests/builtins/BigInt/BigInt.prototype.valueOf.js | 2 +- .../Tests/builtins/Boolean/Boolean.prototype.toString.js | 2 +- .../LibJS/Tests/builtins/Boolean/Boolean.prototype.valueOf.js | 2 +- .../Tests/builtins/Date/Date.prototype.toTemporalInstant.js | 2 +- .../LibJS/Tests/builtins/Function/Function.prototype.bind.js | 2 +- .../builtins/Intl/ListFormat/ListFormat.prototype.format.js | 2 +- .../Intl/ListFormat/ListFormat.prototype.formatToParts.js | 2 +- .../Tests/builtins/Intl/Locale/Locale.prototype.baseName.js | 2 +- .../Tests/builtins/Intl/Locale/Locale.prototype.calendar.js | 2 +- .../Tests/builtins/Intl/Locale/Locale.prototype.caseFirst.js | 2 +- .../Tests/builtins/Intl/Locale/Locale.prototype.collation.js | 2 +- .../Tests/builtins/Intl/Locale/Locale.prototype.hourCycle.js | 2 +- .../Tests/builtins/Intl/Locale/Locale.prototype.language.js | 2 +- .../builtins/Intl/Locale/Locale.prototype.numberingSystem.js | 2 +- .../Tests/builtins/Intl/Locale/Locale.prototype.numeric.js | 2 +- .../Tests/builtins/Intl/Locale/Locale.prototype.region.js | 2 +- .../Tests/builtins/Intl/Locale/Locale.prototype.script.js | 2 +- .../LibJS/Tests/builtins/Number/Number.prototype.toFixed.js | 2 +- .../LibJS/Tests/builtins/Number/Number.prototype.toString.js | 2 +- .../LibJS/Tests/builtins/Number/Number.prototype.valueOf.js | 2 +- .../LibJS/Tests/builtins/Promise/Promise.prototype.then.js | 2 +- .../LibJS/Tests/builtins/Symbol/Symbol.prototype.valueOf.js | 2 +- .../builtins/Temporal/Calendar/Calendar.prototype.era.js | 2 +- .../builtins/Temporal/Calendar/Calendar.prototype.eraYear.js | 2 +- .../builtins/Temporal/Calendar/Calendar.prototype.fields.js | 2 +- .../Temporal/Calendar/Calendar.prototype.mergeFields.js | 2 +- .../builtins/Temporal/Calendar/Calendar.prototype.toString.js | 2 +- .../builtins/Temporal/Duration/Duration.prototype.abs.js | 2 +- .../builtins/Temporal/Duration/Duration.prototype.blank.js | 2 +- .../builtins/Temporal/Duration/Duration.prototype.days.js | 2 +- .../builtins/Temporal/Duration/Duration.prototype.hours.js | 2 +- .../Temporal/Duration/Duration.prototype.microseconds.js | 2 +- .../Temporal/Duration/Duration.prototype.milliseconds.js | 2 +- .../builtins/Temporal/Duration/Duration.prototype.minutes.js | 2 +- .../builtins/Temporal/Duration/Duration.prototype.months.js | 2 +- .../Temporal/Duration/Duration.prototype.nanoseconds.js | 2 +- .../builtins/Temporal/Duration/Duration.prototype.negated.js | 2 +- .../builtins/Temporal/Duration/Duration.prototype.seconds.js | 2 +- .../builtins/Temporal/Duration/Duration.prototype.sign.js | 2 +- .../builtins/Temporal/Duration/Duration.prototype.weeks.js | 2 +- .../builtins/Temporal/Duration/Duration.prototype.with.js | 2 +- .../builtins/Temporal/Duration/Duration.prototype.years.js | 2 +- .../Tests/builtins/Temporal/Instant/Instant.prototype.add.js | 2 +- .../Temporal/Instant/Instant.prototype.epochMicroseconds.js | 2 +- .../Temporal/Instant/Instant.prototype.epochMilliseconds.js | 2 +- .../Temporal/Instant/Instant.prototype.epochNanoseconds.js | 2 +- .../Temporal/Instant/Instant.prototype.epochSeconds.js | 2 +- .../builtins/Temporal/Instant/Instant.prototype.equals.js | 2 +- .../builtins/Temporal/Instant/Instant.prototype.round.js | 2 +- .../builtins/Temporal/Instant/Instant.prototype.since.js | 2 +- .../builtins/Temporal/Instant/Instant.prototype.subtract.js | 2 +- .../builtins/Temporal/Instant/Instant.prototype.toJSON.js | 2 +- .../Temporal/Instant/Instant.prototype.toLocaleString.js | 2 +- .../builtins/Temporal/Instant/Instant.prototype.toString.js | 2 +- .../Temporal/Instant/Instant.prototype.toZonedDateTime.js | 2 +- .../Temporal/Instant/Instant.prototype.toZonedDateTimeISO.js | 2 +- .../builtins/Temporal/Instant/Instant.prototype.until.js | 2 +- .../Temporal/PlainDate/PlainDate.prototype.calendar.js | 2 +- .../builtins/Temporal/PlainDate/PlainDate.prototype.day.js | 2 +- .../Temporal/PlainDate/PlainDate.prototype.dayOfWeek.js | 2 +- .../Temporal/PlainDate/PlainDate.prototype.dayOfYear.js | 2 +- .../Temporal/PlainDate/PlainDate.prototype.daysInMonth.js | 2 +- .../Temporal/PlainDate/PlainDate.prototype.daysInWeek.js | 2 +- .../Temporal/PlainDate/PlainDate.prototype.daysInYear.js | 2 +- .../builtins/Temporal/PlainDate/PlainDate.prototype.era.js | 2 +- .../Temporal/PlainDate/PlainDate.prototype.eraYear.js | 2 +- .../Temporal/PlainDate/PlainDate.prototype.inLeapYear.js | 2 +- .../builtins/Temporal/PlainDate/PlainDate.prototype.month.js | 2 +- .../Temporal/PlainDate/PlainDate.prototype.monthCode.js | 2 +- .../Temporal/PlainDate/PlainDate.prototype.monthsInYear.js | 2 +- .../builtins/Temporal/PlainDate/PlainDate.prototype.toJSON.js | 2 +- .../Temporal/PlainDate/PlainDate.prototype.toLocaleString.js | 2 +- .../Temporal/PlainDate/PlainDate.prototype.toString.js | 2 +- .../Temporal/PlainDate/PlainDate.prototype.weekOfYear.js | 2 +- .../builtins/Temporal/PlainDate/PlainDate.prototype.year.js | 2 +- .../PlainDateTime/PlainDateTime.prototype.calendar.js | 2 +- .../Temporal/PlainDateTime/PlainDateTime.prototype.day.js | 2 +- .../PlainDateTime/PlainDateTime.prototype.dayOfWeek.js | 2 +- .../PlainDateTime/PlainDateTime.prototype.dayOfYear.js | 2 +- .../PlainDateTime/PlainDateTime.prototype.daysInMonth.js | 2 +- .../PlainDateTime/PlainDateTime.prototype.daysInWeek.js | 2 +- .../PlainDateTime/PlainDateTime.prototype.daysInYear.js | 2 +- .../Temporal/PlainDateTime/PlainDateTime.prototype.era.js | 2 +- .../Temporal/PlainDateTime/PlainDateTime.prototype.eraYear.js | 2 +- .../Temporal/PlainDateTime/PlainDateTime.prototype.hour.js | 2 +- .../PlainDateTime/PlainDateTime.prototype.inLeapYear.js | 2 +- .../PlainDateTime/PlainDateTime.prototype.microsecond.js | 2 +- .../PlainDateTime/PlainDateTime.prototype.millisecond.js | 2 +- .../Temporal/PlainDateTime/PlainDateTime.prototype.minute.js | 2 +- .../Temporal/PlainDateTime/PlainDateTime.prototype.month.js | 2 +- .../PlainDateTime/PlainDateTime.prototype.monthCode.js | 2 +- .../PlainDateTime/PlainDateTime.prototype.monthsInYear.js | 2 +- .../PlainDateTime/PlainDateTime.prototype.nanosecond.js | 2 +- .../Temporal/PlainDateTime/PlainDateTime.prototype.second.js | 2 +- .../PlainDateTime/PlainDateTime.prototype.weekOfYear.js | 2 +- .../Temporal/PlainDateTime/PlainDateTime.prototype.year.js | 2 +- .../PlainMonthDay/PlainMonthDay.prototype.calendar.js | 2 +- .../Temporal/PlainMonthDay/PlainMonthDay.prototype.day.js | 2 +- .../PlainMonthDay/PlainMonthDay.prototype.getISOFields.js | 2 +- .../PlainMonthDay/PlainMonthDay.prototype.monthCode.js | 2 +- .../Temporal/PlainMonthDay/PlainMonthDay.prototype.toJSON.js | 2 +- .../PlainMonthDay/PlainMonthDay.prototype.toLocaleString.js | 2 +- .../PlainMonthDay/PlainMonthDay.prototype.toString.js | 2 +- .../Temporal/PlainTime/PlainTime.prototype.calendar.js | 2 +- .../builtins/Temporal/PlainTime/PlainTime.prototype.hour.js | 2 +- .../Temporal/PlainTime/PlainTime.prototype.microsecond.js | 2 +- .../Temporal/PlainTime/PlainTime.prototype.millisecond.js | 2 +- .../builtins/Temporal/PlainTime/PlainTime.prototype.minute.js | 2 +- .../Temporal/PlainTime/PlainTime.prototype.nanosecond.js | 2 +- .../builtins/Temporal/PlainTime/PlainTime.prototype.second.js | 2 +- .../builtins/Temporal/PlainTime/PlainTime.prototype.toJSON.js | 2 +- .../Temporal/PlainTime/PlainTime.prototype.toLocaleString.js | 2 +- .../Temporal/PlainTime/PlainTime.prototype.toString.js | 2 +- .../builtins/Temporal/PlainTime/PlainTime.prototype.with.js | 2 +- .../PlainYearMonth/PlainYearMonth.prototype.calendar.js | 2 +- .../PlainYearMonth/PlainYearMonth.prototype.daysInMonth.js | 2 +- .../PlainYearMonth/PlainYearMonth.prototype.daysInYear.js | 2 +- .../Temporal/PlainYearMonth/PlainYearMonth.prototype.era.js | 2 +- .../PlainYearMonth/PlainYearMonth.prototype.eraYear.js | 2 +- .../PlainYearMonth/PlainYearMonth.prototype.getISOFields.js | 2 +- .../PlainYearMonth/PlainYearMonth.prototype.inLeapYear.js | 2 +- .../Temporal/PlainYearMonth/PlainYearMonth.prototype.month.js | 2 +- .../PlainYearMonth/PlainYearMonth.prototype.monthCode.js | 2 +- .../PlainYearMonth/PlainYearMonth.prototype.monthsInYear.js | 2 +- .../PlainYearMonth/PlainYearMonth.prototype.toJSON.js | 2 +- .../PlainYearMonth/PlainYearMonth.prototype.toLocaleString.js | 2 +- .../PlainYearMonth/PlainYearMonth.prototype.toString.js | 2 +- .../Temporal/PlainYearMonth/PlainYearMonth.prototype.year.js | 2 +- .../TimeZone/TimeZone.prototype.getOffsetNanosecondsFor.js | 2 +- .../TimeZone/TimeZone.prototype.getOffsetStringFor.js | 2 +- .../builtins/Temporal/TimeZone/TimeZone.prototype.toString.js | 2 +- .../ZonedDateTime/ZonedDateTime.prototype.calendar.js | 2 +- .../Temporal/ZonedDateTime/ZonedDateTime.prototype.day.js | 2 +- .../ZonedDateTime/ZonedDateTime.prototype.dayOfWeek.js | 2 +- .../ZonedDateTime/ZonedDateTime.prototype.dayOfYear.js | 2 +- .../ZonedDateTime/ZonedDateTime.prototype.daysInMonth.js | 2 +- .../ZonedDateTime/ZonedDateTime.prototype.daysInWeek.js | 2 +- .../ZonedDateTime/ZonedDateTime.prototype.daysInYear.js | 2 +- .../ZonedDateTime.prototype.epochMicroseconds.js | 2 +- .../ZonedDateTime.prototype.epochMilliseconds.js | 2 +- .../ZonedDateTime/ZonedDateTime.prototype.epochNanoseconds.js | 2 +- .../ZonedDateTime/ZonedDateTime.prototype.epochSeconds.js | 2 +- .../Temporal/ZonedDateTime/ZonedDateTime.prototype.era.js | 2 +- .../Temporal/ZonedDateTime/ZonedDateTime.prototype.eraYear.js | 2 +- .../ZonedDateTime/ZonedDateTime.prototype.getISOFields.js | 2 +- .../Temporal/ZonedDateTime/ZonedDateTime.prototype.hour.js | 2 +- .../ZonedDateTime/ZonedDateTime.prototype.inLeapYear.js | 2 +- .../ZonedDateTime/ZonedDateTime.prototype.microsecond.js | 2 +- .../ZonedDateTime/ZonedDateTime.prototype.millisecond.js | 2 +- .../Temporal/ZonedDateTime/ZonedDateTime.prototype.minute.js | 2 +- .../Temporal/ZonedDateTime/ZonedDateTime.prototype.month.js | 2 +- .../ZonedDateTime/ZonedDateTime.prototype.monthCode.js | 2 +- .../ZonedDateTime/ZonedDateTime.prototype.monthsInYear.js | 2 +- .../ZonedDateTime/ZonedDateTime.prototype.nanosecond.js | 2 +- .../Temporal/ZonedDateTime/ZonedDateTime.prototype.offset.js | 2 +- .../ZonedDateTime.prototype.offsetNanoseconds.js | 2 +- .../Temporal/ZonedDateTime/ZonedDateTime.prototype.second.js | 2 +- .../ZonedDateTime/ZonedDateTime.prototype.timeZone.js | 2 +- .../ZonedDateTime/ZonedDateTime.prototype.toInstant.js | 2 +- .../ZonedDateTime/ZonedDateTime.prototype.toPlainDate.js | 2 +- .../ZonedDateTime/ZonedDateTime.prototype.toPlainDateTime.js | 2 +- .../ZonedDateTime/ZonedDateTime.prototype.toPlainTime.js | 2 +- .../ZonedDateTime/ZonedDateTime.prototype.weekOfYear.js | 2 +- .../Temporal/ZonedDateTime/ZonedDateTime.prototype.year.js | 2 +- .../Tests/builtins/TypedArray/TypedArray.prototype.filter.js | 4 ++-- .../Tests/builtins/TypedArray/TypedArray.prototype.map.js | 4 ++-- 169 files changed, 171 insertions(+), 171 deletions(-) diff --git a/Userland/Libraries/LibJS/Runtime/ErrorTypes.h b/Userland/Libraries/LibJS/Runtime/ErrorTypes.h index f583ef994de..a6bba61bb8b 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 1c111c516d5..d7b8b3484a2 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 040dec60d9b..b651bc7e491 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 f8404dcc074..40f7f74bdb3 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 506b23feac8..eb2847b06a5 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 d510523c5b8..ce7bd371428 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 e5ca47bb895..e1dbf7d6839 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 1bd5269f1d9..0ae42710f91 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 de5ad3563ef..91c695d257f 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 42ab1f78c59..a2311ca63a6 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 e2654275173..dd2d4706527 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 de372899ad0..6ece7cc45f2 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 852f4ea88c7..dfadf3ebbc4 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 363a679ae59..685a86b4064 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 53c8e3c44f7..e756ebc5588 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 5b6820bb3a8..785f0d0a67b 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 ff1563cbbc7..897944b97bd 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 3dcab9f41bc..1dc959eb6b6 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 f42fd53655d..0facce483a0 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 34338cb653b..133cea9eba8 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 5d187823b6f..01d4c075d77 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 75d9f3a6d94..0623175fe52 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 fca04122443..d71f26f44e0 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 939981ece55..804d1338659 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 0bfbfef9122..b5043cd2b62 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 a80ab602a27..8a03691c371 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 9ec905b5f45..791c03c239b 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 09214fc2be5..c9e4d704a61 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 1112c8871a8..596018b14c9 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 6ce0f859459..49aad08e952 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 5d6c4bceb30..ba80ce52722 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 8e6d7e048bb..284d2837a34 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 c224078eca0..6f41661e41f 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 aa4b13e799f..e325bf7060d 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 b12c4ff1106..5230e2b5591 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 1af482a1b57..31d90bfda67 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 ff3e812aef3..d47b8296b9b 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 cf0aedc205e..01424ffe945 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 340195b3a0f..d9b5117a8fa 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 0b51f6789e1..d96f5a04d00 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 9ef68c17101..f15a023e960 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 62790c9b2de..aeabf47d8ef 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 0f7938840cb..b1c002cf3bd 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 20579d01015..dae778ad22d 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 153db4ef1fc..43175e6037d 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 015c94dc6b2..f5a6d9209d1 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 f92e3733ffd..18bf350ef1c 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 6eb25828f62..56546f4c738 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 039153a5e40..06f66dccb06 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 90b4ab30bfe..f01fc435624 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 b02d0887453..a1bfc7f4ced 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 b6c74f20c49..e1c213cde98 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 ff527fefff1..95d7ac04837 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 1f058ebc7f6..35ae00ce622 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 63f965ac49c..074ae092566 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 8877cac635a..2e3ecd1663b 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 f39db3c62c9..a9661c7c785 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 d01ec6841a5..07528143cd7 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 7f4ac620dab..0786e0c8a38 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 28a9ba7a5b0..2f009bfe5c1 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 d9e3bc47d39..cc8edd98f57 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 e272dbf4dac..576e8275cc5 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 a2e20cf33c6..436b8b6e850 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 0a51493eeff..15d50c8e5c0 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 3c7d03da22c..9d02718ded0 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 ab6417a6c0b..1e9a8883493 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 44b92be90b8..90eb232fd04 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 f0f43dacc61..f6080cded15 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 d3d98f6b368..aa3452aa466 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 63fff82b318..94810afc29a 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 c93461f27a5..4e771f92727 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 5e51240cabe..e5c6a293a82 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 7bf5c09f177..44b3e3566c1 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 03e08c442ca..4ce606105ee 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 527e711de20..bc465a1af20 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 b34a91c7b23..0722a55340c 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 8c3e2c6261c..ef9e8552ea9 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 fc69f49afc3..04ed036a3f5 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 b8a0bb89c1e..1da7740b42d 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 d98d1f9f371..7431aa0a6ee 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 efcc0c05d77..4b40325b01e 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 40e667df125..500d2ab4188 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 890df23eb7f..174a423ced1 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 e83cfe15e63..0d83c77587a 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 22c1160ae55..27e76e8caaa 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 382237413a4..61b3019720b 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 cb107c88508..565bd365670 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 a63260f8e1a..e9e6d52eb09 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 bfa5db84e9c..6e3a3d624f3 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 aa25b245d15..0c117acd7d9 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 3a705303be4..66b11e49222 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 1e9ba275ff8..47bd03f8a93 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 82d8a473233..13043506128 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 000d075ef38..da755b413f7 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 e7cda481eb2..4c7167ef584 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 75e2d0259e3..ef4cced316b 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 62182078d03..1becf5cfe59 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 8df9278ce71..0e801b423be 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 4507df98bdc..ae1c2f16941 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 e699dcf4e6f..9ab89accaf6 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 4a0db67db19..e9807f1286f 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 29feff968f3..11475b5a31b 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 b662d26c90d..2943794e495 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 ea568c8fff7..99cb9a93a2c 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 388c4269f15..6d459cc7c12 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 df09430402d..8a1c4b1da22 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 9d85e7c4c7d..188ce77a666 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 f735a3b8d78..8a8533ca042 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 cb019f9d5c2..ad550b82ccd 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 656669afdba..dee6507992a 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 62253ff1312..c3f39842d8b 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 62cfc7d0a72..ef7c9b9ed91 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 db41d6fa515..b0687ee5719 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 5279be62225..2a94c3d2b3a 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 05a5ce420e6..f0b2ab1a0b0 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 cd82fae03fb..3f5ccd9fa8c 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 a0ffa7fb993..a0cb94ba1f8 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 9b80816de83..a5e31c04cf1 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 cca56fbfdb8..59c07055d41 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 d810a1da105..a0a114902f7 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 5987e281c01..f3ccc9a5a82 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 22bdd70799f..88effcb4ccf 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 db8ac2b24bf..be42ba9c894 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 74e8d2b47e9..f79e77e7bda 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 53bb0a515f9..8c09f11cbe8 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 f2e5adb2f0a..8fdd1852dae 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 8e995808cf2..6ca5f84084a 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 dff2d5679d3..88251a82594 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 ec4879c6e1a..d3832b2bda7 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 fbba95d9124..ef7b6433cb4 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 bf7ab1228cd..13e0021ab34 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 fb190067eaf..3b9d3dd9554 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 27ad3ab11e6..b8a07573eab 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 a82f0beb491..bfefb3ac931 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 1b3dcf4eec7..53d9135c1b4 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 4cb6fa0c0b6..a1a0766045b 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 239e9ba1f56..e1fb8e41de0 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 d7ec8391eb5..b01db8a25c5 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 3f70013104d..741ae3e480c 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 3e45acaf1f7..e0be6b61f96 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 3a1da70b059..3e724ecb519 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 c64c994b48c..7cdbf3c3fec 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 5653638f803..381401e70f5 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 185d07d6470..9c0e466e766 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 a5167b71de3..e764aaf91c0 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 60beef255f5..dce541c0a80 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 304d9eea02c..4ec60dc4512 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 bce2593455d..89394f694e4 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 536f856669a..92a423922aa 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 a5dd6c2f691..88b546bcac5 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 6f45616d4ce..2b49a6c6270 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 03f9ddcd9f8..eb5aa72113a 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 99360ce296a..f8977634734 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 042493e29bb..08a57c85036 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 e96e5189e27..5c41c42b9f1 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 15a0980bebe..e0c3e0c6a1d 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 1e6745cab2f..0caf652a858 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 2c2a826e301..bf3945bb792 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 6ac6db40f5f..1fe611c7299 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 d0a13e8414f..c759b0d73b7 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 7de20724a30..21c97b56795 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 98e62eba522..453779f603f 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 e5babceb470..9cd4ae467a5 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 71407ef04fc..cc8013ecaec 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 e6ba21a8156..6d2586e1d1b 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 fc715ea7f5d..e6dfb9cb575 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 e97e210123d..e268f23ae7c 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 a242efe3cfc..b33ace787b8 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 da25a55de48..622d3a3224f 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(); });