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
Notes: sideshowbarker 2024-07-18 11:23:40 +09:00

View File

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