]> git.ipfire.org Git - thirdparty/git.git/commit
test functions: add function `test_file_not_empty`
authorRohit Ashiwal <rohit.ashiwal265@gmail.com>
Mon, 4 Mar 2019 12:07:59 +0000 (17:37 +0530)
committerJunio C Hamano <gitster@pobox.com>
Fri, 8 Mar 2019 05:21:27 +0000 (14:21 +0900)
commit21d5ad911032efe99ad4c3c72a8c0b839e29d92c
treee48b146c40e167de3ec9caa704b8fe24430ce8ca
parent8104ec994ea3849a968b4667d072fedd1e688642
test functions: add function `test_file_not_empty`

Add a helper function to ensure that a given path is a non-empty file,
and give an error message when it is not.

Signed-off-by: Rohit Ashiwal <rohit.ashiwal265@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/test-lib-functions.sh