diff options
Diffstat (limited to 't/t4106-apply-stdin.sh')
-rwxr-xr-x | t/t4106-apply-stdin.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/t/t4106-apply-stdin.sh b/t/t4106-apply-stdin.sh index a57a318699..5c150f3b0b 100755 --- a/t/t4106-apply-stdin.sh +++ b/t/t4106-apply-stdin.sh @@ -20,7 +20,10 @@ test_expect_success 'git apply --numstat - < patch' ' ' test_expect_success 'git apply --numstat - < patch patch' ' - for i in 1 2; do echo "1 1 text"; done >expect && + cat >expect <<-\EOF && + 1 1 text + 1 1 text + EOF git apply --numstat - < patch patch >actual && test_cmp expect actual ' |