t5000: modernise archive and :(glob) test
To match present day coding guiding codelines let's: - use <<-EOF, so we can indent all lines to the the same level for this test - use <<\EOF to notify the reader that no interpolation is expected in the body Signed-off-by: Kostya Farber <kostya.farber@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
844ede312b
commit
d912a603ed
@ -402,11 +402,11 @@ test_expect_success GZIP 'extract tgz file (external gzip)' '
|
||||
|
||||
test_expect_success 'archive and :(glob)' '
|
||||
git archive -v HEAD -- ":(glob)**/sh" >/dev/null 2>actual &&
|
||||
cat >expect <<EOF &&
|
||||
a/
|
||||
a/bin/
|
||||
a/bin/sh
|
||||
EOF
|
||||
cat >expect <<-\EOF &&
|
||||
a/
|
||||
a/bin/
|
||||
a/bin/sh
|
||||
EOF
|
||||
test_cmp expect actual
|
||||
'
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user