Signed-off-by: Jonathan Chang <ttjtftx@xxxxxxxxx> --- t/t0000-basic.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/t/t0000-basic.sh b/t/t0000-basic.sh index 49923c5ff1..0cb69a89de 100755 --- a/t/t0000-basic.sh +++ b/t/t0000-basic.sh @@ -51,7 +51,7 @@ test_expect_success 'verify that the running shell supports "local"' ' test_expect_success '.git/objects should be empty after git init in an empty repo' ' find .git/objects -type f -print >should-be-empty && - test_line_count = 0 should-be-empty + test_must_be_empty should-be-empty ' # also it should have 2 subdirectories; no fan-out anymore, pack, and info. @@ -1110,7 +1110,7 @@ test_expect_success 'git update-index --refresh should succeed' ' test_expect_success 'no diff after checkout and git update-index --refresh' ' git diff-files >current && - cmp -s current /dev/null + test_must_be_empty current ' ################################################################ -- 2.21.0