LibJS/Tests: Fix this value error test description in a PlainDate test
This commit is contained in:
parent
2c46a0fa6c
commit
38645347a7
Notes:
sideshowbarker
2024-07-18 08:33:08 +09:00
Author: https://github.com/linusg Commit: https://github.com/SerenityOS/serenity/commit/38645347a79 Pull-request: https://github.com/SerenityOS/serenity/pull/8940 Reviewed-by: https://github.com/IdanHo ✅
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ describe("correct behavior", () => {
|
|||
});
|
||||
|
||||
test("errors", () => {
|
||||
test("this value must be a Temporal.Duration object", () => {
|
||||
test("this value must be a Temporal.PlainDate object", () => {
|
||||
expect(() => {
|
||||
Reflect.get(Temporal.PlainDate.prototype, "calendar", "foo");
|
||||
}).toThrowWithMessage(TypeError, "Not a Temporal.PlainDate");
|
||||
|
|
Loading…
Add table
Reference in a new issue