1 Return-Path: <jrollins@servo.finestructure.net>
\r
2 X-Original-To: notmuch@notmuchmail.org
\r
3 Delivered-To: notmuch@notmuchmail.org
\r
4 Received: from localhost (localhost [127.0.0.1])
\r
5 by olra.theworths.org (Postfix) with ESMTP id 73666421186
\r
6 for <notmuch@notmuchmail.org>; Wed, 29 Jun 2011 10:06:41 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-1.921 tagged_above=-999 required=5
\r
12 tests=[NO_DNS_FOR_FROM=0.379, RCVD_IN_DNSWL_MED=-2.3]
\r
14 Received: from olra.theworths.org ([127.0.0.1])
\r
15 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
16 with ESMTP id TkXznkJdtU-Q for <notmuch@notmuchmail.org>;
\r
17 Wed, 29 Jun 2011 10:06:40 -0700 (PDT)
\r
18 Received: from outgoing-mail.its.caltech.edu (outgoing-mail.its.caltech.edu
\r
20 by olra.theworths.org (Postfix) with ESMTP id C6300429E5F
\r
21 for <notmuch@notmuchmail.org>; Wed, 29 Jun 2011 10:06:40 -0700 (PDT)
\r
22 Received: from fire-doxen.imss.caltech.edu (localhost [127.0.0.1])
\r
23 by fire-doxen-postvirus (Postfix) with ESMTP id ACF9632811D;
\r
24 Wed, 29 Jun 2011 09:57:54 -0700 (PDT)
\r
25 X-Spam-Scanned: at Caltech-IMSS on fire-doxen by amavisd-new
\r
26 Received: from servo.finestructure.net (cpe-98-149-172-122.socal.res.rr.com
\r
27 [98.149.172.122]) (Authenticated sender: jrollins)
\r
28 by fire-doxen-submit (Postfix) with ESMTP id 6671432811F;
\r
29 Wed, 29 Jun 2011 09:57:51 -0700 (PDT)
\r
30 Received: by servo.finestructure.net (Postfix, from userid 1000)
\r
31 id DA71455D; Wed, 29 Jun 2011 10:06:35 -0700 (PDT)
\r
32 From: Jameson Graef Rollins <jrollins@finestructure.net>
\r
33 To: Notmuch Mail <notmuch@notmuchmail.org>
\r
34 Subject: [PATCH] test: document test_expect_equal_file
\r
35 Date: Wed, 29 Jun 2011 10:06:32 -0700
\r
36 Message-Id: <1309367192-16340-1-git-send-email-jrollins@finestructure.net>
\r
37 X-Mailer: git-send-email 1.7.5.4
\r
38 X-BeenThere: notmuch@notmuchmail.org
\r
39 X-Mailman-Version: 2.1.13
\r
41 List-Id: "Use and development of the notmuch mail system."
\r
42 <notmuch.notmuchmail.org>
\r
43 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
44 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
45 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
46 List-Post: <mailto:notmuch@notmuchmail.org>
\r
47 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
48 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
49 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
50 X-List-Received-Date: Wed, 29 Jun 2011 17:06:41 -0000
\r
52 This test was not properly documented when it was originally added (my
\r
55 test/README | 7 +++++++
\r
56 1 files changed, 7 insertions(+), 0 deletions(-)
\r
58 diff --git a/test/README b/test/README
\r
59 index 8fbf78d..f9ac607 100644
\r
62 @@ -156,6 +156,13 @@ library for your script to use.
\r
63 will generate a failure and print the difference of the two
\r
66 + test_expect_equal_file <output> <expected>
\r
68 + Identical to test_exepect_equal, except that <output> and
\r
69 + <expected> are files instead of strings. This is a much more
\r
70 + robust method to compare formatted textual information, since it
\r
71 + also notices whitespace and closing newline differences.
\r
73 test_expect_equal_failure <output> <expected>
\r
75 This works similar to test_expect_equal (see above) but is used to
\r