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:
parent
10728cd421
commit
5ee753ffaa
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||||
|
)}_`
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue