]> git.notmuchmail.org Git - notmuch/blobdiff - test/README
test: document test_expect_equal_file
[notmuch] / test / README
index 8fbf78da57618f613e5ebb26736f5ef16b1fd7ad..f9ac6073d97b4739c80b8ba5ec6da00a88d0e154 100644 (file)
@@ -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