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)' '
|
test_expect_success 'archive and :(glob)' '
|
||||||
git archive -v HEAD -- ":(glob)**/sh" >/dev/null 2>actual &&
|
git archive -v HEAD -- ":(glob)**/sh" >/dev/null 2>actual &&
|
||||||
cat >expect <<EOF &&
|
cat >expect <<-\EOF &&
|
||||||
a/
|
a/
|
||||||
a/bin/
|
a/bin/
|
||||||
a/bin/sh
|
a/bin/sh
|
||||||
EOF
|
EOF
|
||||||
test_cmp expect actual
|
test_cmp expect actual
|
||||||
'
|
'
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user