diff options
author | Chandra Pratap <chandrapratap3519@gmail.com> | 2024-05-29 22:29:31 +0530 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2024-05-30 07:30:10 -0700 |
commit | efa8786800618b4119536d2af8f0bbcfa86b1c04 (patch) | |
tree | e5c2a56debdfb5c75a9e4b7d11c0652ea07a928e /commit-graph.c | |
parent | e31efffc28b2d22137587ba9c0c71f03713df4b9 (diff) |
t: improve the test-case for parse_names()
In the existing test-case for parse_names(), the fact that empty
lines should be ignored is not obvious because the empty line is
immediately followed by end-of-string. This can be mistaken as the
empty line getting replaced by NULL. Improve this by adding a
non-empty line after the empty one to demonstrate the intended behavior.
Mentored-by: Patrick Steinhardt <ps@pks.im>
Mentored-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Chandra Pratap <chandrapratap3519@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit-graph.c')
0 files changed, 0 insertions, 0 deletions