From: David Bremner Date: Wed, 19 Oct 2011 20:51:24 +0000 (-0300) Subject: test/test-lib.sh: update comments X-Git-Tag: 0.10_rc1~74 X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=commitdiff_plain;h=f4148e9d21f391ecd2a2100588adb55d471dac18 test/test-lib.sh: update comments - 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" --- diff --git a/test/test-lib.sh b/test/test-lib.sh index f8df6a5f..f524ebf6 100755 --- a/test/test-lib.sh +++ b/test/test-lib.sh @@ -462,6 +462,7 @@ test_expect_equal () fi } +# Like test_expect_equal, but takes two filenames. test_expect_equal_file () { exec 1>&6 2>&7 # Restore stdout and stderr @@ -724,7 +725,7 @@ test_external_without_stderr () { 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' '