diff --git a/test/lisp/vc/vc-git-tests.el b/test/lisp/vc/vc-git-tests.el index 1552608071e..9721cc4d4ff 100644 --- a/test/lisp/vc/vc-git-tests.el +++ b/test/lisp/vc/vc-git-tests.el @@ -217,7 +217,7 @@ is absent." (should (assq 'upstream alist)) (should (equal (cdr (assq 'push alist)) (concat "fork/" main-branch)))) - (vc-git--out-ok "config" "unset" + (vc-git--out-ok "config" "--unset" (format "branch.%s.pushRemote" main-branch)) (vc-git--out-ok "config" "remote.pushDefault" "fork") (let ((alist (vc-git--branch-remotes)))