]> git.notmuchmail.org Git - notmuch/commitdiff
test/test-lib.sh: update comments
authorDavid Bremner <bremner@debian.org>
Wed, 19 Oct 2011 20:51:24 +0000 (17:51 -0300)
committerDavid Bremner <bremner@debian.org>
Sat, 22 Oct 2011 22:43:02 +0000 (19:43 -0300)
- explain test_expect_equal_file
- remove mention of test_expect_failure, since that function was removed.

Based on id:"1317317811-29540-1-git-send-email-thomas@schwinge.name"

test/test-lib.sh

index f8df6a5f1b8f921cabfd39d26a1763d388f30564..f524ebf6701f0e261c3afaf14b0752a1861b4b4b 100755 (executable)
@@ -462,6 +462,7 @@ test_expect_equal ()
     fi
 }
 
     fi
 }
 
+# Like test_expect_equal, but takes two filenames.
 test_expect_equal_file ()
 {
        exec 1>&6 2>&7          # Restore stdout and stderr
 test_expect_equal_file ()
 {
        exec 1>&6 2>&7          # Restore stdout and stderr
@@ -724,7 +725,7 @@ test_external_without_stderr () {
        fi
 }
 
        fi
 }
 
-# This is not among top-level (test_expect_success | test_expect_failure)
+# This is not among top-level (test_expect_success)
 # but is a prefix that can be used in the test script, like:
 #
 #      test_expect_success 'complain and die' '
 # but is a prefix that can be used in the test script, like:
 #
 #      test_expect_success 'complain and die' '