]> git.notmuchmail.org Git - notmuch/commitdiff
test: document test_expect_equal_file
authorJameson Graef Rollins <jrollins@finestructure.net>
Wed, 29 Jun 2011 17:06:32 +0000 (10:06 -0700)
committerCarl Worth <cworth@cworth.org>
Wed, 29 Jun 2011 22:36:43 +0000 (15:36 -0700)
This test was not properly documented when it was originally added (my
bad).

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