diff options
author | Thomas Gummerer <t.gummerer@gmail.com> | 2017-11-26 20:21:00 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-11-27 10:36:58 +0900 |
commit | 5a0526264b472dff1def6b5c6facd0e9a54cbac7 (patch) | |
tree | 21944f2f86d9cc9e848e32b85473cd9075762373 | |
parent | t/README: remove mention of adding copyright notices (diff) | |
download | tgif-5a0526264b472dff1def6b5c6facd0e9a54cbac7.tar.xz |
t/README: document test_cmp_rev
test_cmp_rev is a useful function that's used in quite a few test
scripts. It is however not documented in t/README. Document it.
Signed-off-by: Thomas Gummerer <t.gummerer@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r-- | t/README | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -674,6 +674,11 @@ library for your script to use. <expected> file. This behaves like "cmp" but produces more helpful output when the test is run with "-v" option. + - test_cmp_rev <expected> <actual> + + Check whether the <expected> rev points to the same commit as the + <actual> rev. + - test_line_count (= | -lt | -ge | ...) <length> <file> Check whether a file has the length it is expected to. |