subtree test: add missing && to &&-chain
[gitweb.git] / t / t9902-completion.sh
index 36deb0b123cf501d4acd2c9ec26ff3acef21bc87..a28640ce1accd604bd32fdc95fd172119f6c3741 100755 (executable)
@@ -181,7 +181,7 @@ test_expect_success '__git_find_repo_path - cwd is a .git directory' '
 test_expect_success '__git_find_repo_path - parent is a .git directory' '
        echo "$ROOT/.git" >expected &&
        (
-               cd .git/refs/heads &&
+               cd .git/objects &&
                __git_find_repo_path &&
                echo "$__git_repo_path" >"$actual"
        ) &&