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 5fc6d3e4e7..69c9c48e72 100755
--- a/t/t4118-apply-empty-context.sh
+++ b/t/t4118-apply-empty-context.sh
@@ -12,11 +12,7 @@ TEST_PASSES_SANITIZE_LEAK=true
. ./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 &&