summaryrefslogtreecommitdiff
path: root/t/t4118-apply-empty-context.sh
diff options
context:
space:
mode:
Diffstat (limited to 't/t4118-apply-empty-context.sh')
-rwxr-xr-xt/t4118-apply-empty-context.sh6
1 files changed, 1 insertions, 5 deletions
diff --git a/t/t4118-apply-empty-context.sh b/t/t4118-apply-empty-context.sh
index 65f2e4c..1bce118 100755
--- a/t/t4118-apply-empty-context.sh
+++ b/t/t4118-apply-empty-context.sh
@@ -10,11 +10,7 @@ test_description='git apply with new style GNU diff with empty context
. ./test-lib.sh
test_expect_success setup '
- {
- echo; echo;
- echo A; echo B; echo C;
- echo;
- } >file1 &&
+ test_write_lines "" "" A B C "" >file1 &&
cat file1 >file1.orig &&
{
cat file1 &&