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)
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>
No differences found