diff options
author | Eric Sunshine <sunshine@sunshineco.com> | 2018-07-01 20:23:47 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-07-03 12:38:04 -0700 |
commit | fb23bd7af232d05d415653dc4d80b634a428f76f (patch) | |
tree | a51c71d9a0e8df028fb0b5356a526607ddf22427 /t/t0026-eol-config.sh | |
parent | t5405: use test_must_fail() instead of checking exit code manually (diff) | |
download | tgif-fb23bd7af232d05d415653dc4d80b634a428f76f.tar.xz |
t5406: use write_script() instead of birthing shell script manually
Take advantage of write_script() to abstract-away details of shell
script creation, thus allowing the reader to focus on script content.
Readability benefits, particularly in this case, since the script body
was buried in a noisy one-liner subshell responsible for emitting
boilerplate and body.
Signed-off-by: Eric Sunshine <sunshine@sunshineco.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t0026-eol-config.sh')
0 files changed, 0 insertions, 0 deletions