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>
This commit is contained in:
parent
51b7a52522
commit
5a0526264b
5
t/README
5
t/README
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user