1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 07:47:35 +00:00

LibJS/Tests: Fix toBeFalse() details prefix

Copy/paste error from toBeTrue().
This commit is contained in:
Linus Groh 2021-06-28 18:22:42 +01:00
parent 10728cd421
commit 5ee753ffaa

View file

@ -210,7 +210,9 @@ class ExpectationError extends Error {
this.__expect( this.__expect(
this.target === false, this.target === false,
() => () =>
`toBeTrue: expected target to be false, got _${valueToString(this.target)}_` `toBeFalse: expected target to be false, got _${valueToString(
this.target
)}_`
); );
}); });
} }