t3905: replace test -s with test_file_not_empty
commit27e25a8cbfff4a53eb1bf6bac8486af6a6a1201d
authorDenton Liu <liu.denton@gmail.com>
Tue, 9 Feb 2021 07:28:51 +0000 (8 23:28 -0800)
committerJunio C Hamano <gitster@pobox.com>
Thu, 11 Feb 2021 21:34:58 +0000 (11 13:34 -0800)
tree2095ddbe14ad01d5196139ea035efdd42b73504b
parent389ece402292f066be6bb4a22ac72682a6a2aea6
t3905: replace test -s with test_file_not_empty

In order to modernize the test script, replace `test -s` with
test_file_not_empty(), which provides better diagnostic output in the
case of failure.

Signed-off-by: Denton Liu <liu.denton@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t3905-stash-include-untracked.sh