t/t8003-blame-corner-cases.sh: Use here documents

Somehow, this test was using: { echo A echo B } > file block to feed file contents. This changes those to the form most common in git test scripts: cat >file <<-\EOF A B EOF Signed-off-by: Mike Hommey <mh@glandium.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Mike Hommey committed Jul 16, 2016 at 08:23 UTC c66b470082144471fc95e669eb398c8f320d67c4
1 file changed +17 -17
t/t8003-blame-corner-cases.sh
+17 -17
@@ -41,12 +41,12 @@ test_expect_success setup '
41 test_tick &&
42 GIT_AUTHOR_NAME=Fourth git commit -m Fourth &&
43
44 - {
45 - echo ABC
46 - echo DEF
47 - echo XXXX
48 - echo GHIJK
49 - } >cow &&
44 + cat >cow <<-\EOF &&
45 + ABC
46 + DEF
47 + XXXX
48 + GHIJK
49 + EOF
50 git add cow &&
51 test_tick &&
52 GIT_AUTHOR_NAME=Fifth git commit -m Fifth
@@ -115,11 +115,11 @@ test_expect_success 'append with -C -C -C' '
115 test_expect_success 'blame wholesale copy' '
116
117 git blame -f -C -C1 HEAD^ -- cow | sed -e "$pick_fc" >current &&
118 - {
119 - echo mouse-Initial
120 - echo mouse-Second
121 - echo mouse-Third
122 - } >expected &&
118 + cat >expected <<-\EOF &&
119 + mouse-Initial
120 + mouse-Second
121 + mouse-Third
122 + EOF
123 test_cmp expected current
124
125 '
@@ -127,12 +127,12 @@ test_expect_success 'blame wholesale copy' '
127 test_expect_success 'blame wholesale copy and more' '
128
129 git blame -f -C -C1 HEAD -- cow | sed -e "$pick_fc" >current &&
130 - {
131 - echo mouse-Initial
132 - echo mouse-Second
133 - echo cow-Fifth
134 - echo mouse-Third
135 - } >expected &&
130 + cat >expected <<-\EOF &&
131 + mouse-Initial
132 + mouse-Second
133 + cow-Fifth
134 + mouse-Third
135 + EOF
136 test_cmp expected current
137
138 '