-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Format values when AssertionErrors are created
Format statements, generate diffs and otherwise format values when AssertionErrors are created. Make labels contextual to the assertion. Always print power-assert statements in mini and verbose reporters, but after the values. Accept the duplication when the statement covers the value passed to the assertion. Detect whether `t.throws()` failed because no error was thrown, or because the thrown error did not meet expectations. Explicitly test `t.fail()` default message in assertion test.
- Loading branch information
1 parent
e5108a2
commit 4f87f32
Showing
18 changed files
with
845 additions
and
704 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.