t5318: use 'test_must_be_empty'
commit6334c5ff9732c4b2171ce3aee012196c01cdf401
authorTaylor Blau <me@ttaylorr.com>
Wed, 3 Jun 2020 22:21:07 +0000 (3 16:21 -0600)
committerJunio C Hamano <gitster@pobox.com>
Thu, 4 Jun 2020 14:52:54 +0000 (4 07:52 -0700)
tree648ac6ebf264cc60143bb3df2cf6966791c7b078
parentb3d7a52fac39193503a0b6728771d1bf6a161464
t5318: use 'test_must_be_empty'

A handful of tests in t5318 use 'test_line_count = 0 ...' to make sure
that some command does not write any output. While correct, it is more
idiomatic to use 'test_must_be_empty' instead. Switch the former
invocations to use the latter instead.

Signed-off-by: Taylor Blau <me@ttaylorr.com>
Acked-by: Derrick Stolee <dstolee@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t5318-commit-graph.sh