diff options
author | SZEDER Gábor <szeder.dev@gmail.com> | 2018-08-19 23:57:24 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-08-21 11:48:34 -0700 |
commit | ec21ac8c189537df815e49bdf8f08da927665cf2 (patch) | |
tree | 36c09e7ca122410c6418b5b58ded1e330460280b /builtin/rerere.c | |
parent | tests: use 'test_must_be_empty' instead of 'test ! -s' (diff) | |
download | tgif-ec21ac8c189537df815e49bdf8f08da927665cf2.tar.xz |
tests: use 'test_must_be_empty' instead of 'test_cmp /dev/null <out>'
Using 'test_must_be_empty' is more idiomatic than 'test_cmp /dev/null
out', and its message on error is perhaps a bit more to the point.
This patch was basically created by running:
sed -i -e 's%test_cmp /dev/null%test_must_be_empty%' t[0-9]*.sh
with the exception of the change in 'should not fail in an empty repo'
in 't7401-submodule-summary.sh', where it was 'test_cmp output
/dev/null'.
Signed-off-by: SZEDER Gábor <szeder.dev@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/rerere.c')
0 files changed, 0 insertions, 0 deletions