mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-22 02:48:08 +01:00
test: document test_expect_equal_file
This test was not properly documented when it was originally added (my bad).
This commit is contained in:
parent
f4dae4e5a1
commit
a31ad0bd01
1 changed files with 7 additions and 0 deletions
|
@ -156,6 +156,13 @@ library for your script to use.
|
||||||
will generate a failure and print the difference of the two
|
will generate a failure and print the difference of the two
|
||||||
strings.
|
strings.
|
||||||
|
|
||||||
|
test_expect_equal_file <output> <expected>
|
||||||
|
|
||||||
|
Identical to test_exepect_equal, except that <output> and
|
||||||
|
<expected> are files instead of strings. This is a much more
|
||||||
|
robust method to compare formatted textual information, since it
|
||||||
|
also notices whitespace and closing newline differences.
|
||||||
|
|
||||||
test_expect_equal_failure <output> <expected>
|
test_expect_equal_failure <output> <expected>
|
||||||
|
|
||||||
This works similar to test_expect_equal (see above) but is used to
|
This works similar to test_expect_equal (see above) but is used to
|
||||||
|
|
Loading…
Reference in a new issue