[PATCH] test: document test_expect_equal_file
    Jameson Graef Rollins 
    jrollins at finestructure.net
       
    Wed Jun 29 10:06:32 PDT 2011
    
    
  
This test was not properly documented when it was originally added (my
bad).
---
 test/README |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/test/README b/test/README
index 8fbf78d..f9ac607 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
-- 
1.7.5.4
    
    
More information about the notmuch
mailing list