t3206-range-diff.sh: cover single-patch case
[gitweb.git] / t / t9902-completion.sh
index 3b3a7b66e41024b5a9b939f1c33a9996b8874a12..5ff43b9cbbe1693ac23ac7f020522d16424cb936 100755 (executable)
@@ -1103,7 +1103,7 @@ test_expect_success '__git_complete_refs - remote' '
        master-in-other Z
        EOF
        (
-               cur=
+               cur= &&
                __git_complete_refs --remote=other &&
                print_comp
        ) &&
@@ -1122,7 +1122,7 @@ test_expect_success '__git_complete_refs - track' '
        master-in-other Z
        EOF
        (
-               cur=
+               cur= &&
                __git_complete_refs --track &&
                print_comp
        ) &&