summaryrefslogtreecommitdiff
path: root/hashmap.h
diff options
context:
space:
mode:
authorLibravatar René Scharfe <l.s.r@web.de>2019-11-26 20:41:57 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2019-11-27 11:32:02 +0900
commitc93a5aaec859f93ff24277269e2fdef00c9c45e6 (patch)
tree3df56a396b475b745e7c87bee8984624052b5d12 /hashmap.h
parentt1410: use test_line_count (diff)
downloadtgif-c93a5aaec859f93ff24277269e2fdef00c9c45e6.tar.xz
t1400: use test_must_be_empty
Use test_must_be_empty instead of reading the file and comparing its contents to an empty string. That's more efficient, as the function only needs built-in meta-data only check in the usual case, and provides nicer debug output otherwise. Signed-off-by: René Scharfe <l.s.r@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'hashmap.h')
0 files changed, 0 insertions, 0 deletions