t6429: fix use of non-existent function
commitec2f6c0cca498bd1197893e9c653e64265c3a750
authorElijah Newren <newren@palantir.com>
Fri, 1 Jul 2022 05:19:59 +0000 (1 05:19 +0000)
committerJunio C Hamano <gitster@pobox.com>
Fri, 1 Jul 2022 06:07:31 +0000 (30 23:07 -0700)
tree986c9fc53c21cbb0678ffc93e778bf70cda6ca2b
parentdc8c8deaa6b5847733bd7df011a4c7b7d1a64e0a
t6429: fix use of non-existent function

This test had a line reading

    ! test_file_is_empty actual

which was meant to be

    ! test_must_be_empty actual

The test worked despite the error, because even though
test_file_is_empty is a non-existent function, the '!' negated the
return value and made it pass.  It'd be better to avoid the negation,
so something like

    test_file_not_empty actual

would be better, but perhaps it makes even more sense to specify the
number of lines of expected output to make the test a bit tighter.

Reported-by: SZEDER Gábor <szeder.dev@gmail.com>
Signed-off-by: Elijah Newren <newren@palantir.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t6429-merge-sequence-rename-caching.sh