update-ref: allow --no-deref with --stdin
[gitweb.git] / t / t1008-read-tree-overlay.sh
index 4c50ed955eb18da1a60dd9d635f3c32d081cfb76..cf96016844822cfec9998f107baebf15cb4c70db 100755 (executable)
@@ -23,7 +23,7 @@ test_expect_success setup '
 
 test_expect_success 'multi-read' '
        read_tree_must_succeed initial master side &&
-       (echo a; echo b/c) >expect &&
+       test_write_lines a b/c >expect &&
        git ls-files >actual &&
        test_cmp expect actual
 '