diff options
author | Phillip Wood <phillip.wood@dunelm.org.uk> | 2022-01-11 11:12:09 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-01-12 10:29:52 -0800 |
commit | d16632f6942568019dec21447da1ecc58dba98e0 (patch) | |
tree | d273a267ca5bb583a29f6ec6af869567f5949cc3 /t/t1509 | |
parent | Git 2.34.1 (diff) | |
download | tgif-d16632f6942568019dec21447da1ecc58dba98e0.tar.xz |
t3701: clean up hunk splitting tests
Clean up some test constructs in preparation for extending the tests
in the next commit. There are three small changes, I've grouped them
together as they're so small it didn't seem worth creating three
separate commits.
1 - "cat file | sed expression" is better written as
"sed expression file".
2 - Follow our usual practice of redirecting the output of git
commands to a file rather than piping it into another command.
3 - Use test_write_lines rather than 'printf "%s\n"'.
Signed-off-by: Phillip Wood <phillip.wood@dunelm.org.uk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t1509')
0 files changed, 0 insertions, 0 deletions