aboutsummaryrefslogtreecommitdiff
path: root/test/test-lib.sh
diff options
context:
space:
mode:
authorDavid Bremner <bremner@debian.org>2011-10-19 17:51:24 -0300
committerDavid Bremner <bremner@debian.org>2011-10-22 19:43:02 -0300
commitf4148e9d21f391ecd2a2100588adb55d471dac18 (patch)
treef04476d25cc74915b0865d159e5bd642a47619e5 /test/test-lib.sh
parent61f0a5b8ee2adf540106a09c5f83fe634da6beb3 (diff)
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"
Diffstat (limited to 'test/test-lib.sh')
-rwxr-xr-xtest/test-lib.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/test-lib.sh b/test/test-lib.sh
index f8df6a5..f524ebf 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' '