t4015: split out the "setup" part of ws-error-highlight test
[gitweb.git] / t / t3404-rebase-interactive.sh
index 98eb49ac236e9e9d08d5da5167f7e257db173c41..9067e0206f12d472d6940842635759b4447010f1 100755 (executable)
@@ -1234,7 +1234,7 @@ test_expect_success 'tabs and spaces are accepted in the todolist' '
                # Turn single spaces into space/tab mix
                sed "1s/ /      /g; 2s/ /  /g; 3s/ /    /g" "$1"
                printf "\n\t# comment\n #more\n\t # comment\n"
-       ) >$1.new
+       ) >"$1.new"
        mv "$1.new" "$1"
        EOF
        test_set_editor "$(pwd)/add-indent.sh" &&