diff options
author | Jameson Graef Rollins <jrollins@finestructure.net> | 2011-06-29 10:06:32 -0700 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2011-06-29 15:36:43 -0700 |
commit | a31ad0bd01570307d18b7fbd56b7bcdfb22e5b63 (patch) | |
tree | 987a6f44903733e8ccc574685631edc4b7525fe0 /test/README | |
parent | f4dae4e5a199c843cfe139f1c1496eac3e1d120e (diff) |
test: document test_expect_equal_file
This test was not properly documented when it was originally added (my
bad).
Diffstat (limited to 'test/README')
-rw-r--r-- | test/README | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/README b/test/README index 8fbf78da..f9ac6073 100644 --- a/test/README +++ b/test/README @@ -156,6 +156,13 @@ library for your script to use. will generate a failure and print the difference of the two 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> This works similar to test_expect_equal (see above) but is used to |