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"
This commit is contained in:
David Bremner 2011-10-19 17:51:24 -03:00
parent 61f0a5b8ee
commit f4148e9d21

View file

@ -462,6 +462,7 @@ test_expect_equal ()
fi fi
} }
# Like test_expect_equal, but takes two filenames.
test_expect_equal_file () test_expect_equal_file ()
{ {
exec 1>&6 2>&7 # Restore stdout and stderr 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: # but is a prefix that can be used in the test script, like:
# #
# test_expect_success 'complain and die' ' # test_expect_success 'complain and die' '