summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/test_git.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_git.py b/test/test_git.py
index e7d236de..c5d871f0 100644
--- a/test/test_git.py
+++ b/test/test_git.py
@@ -169,7 +169,7 @@ class TestGit(TestBase):
self.assertRaises(GitCommandNotFound, refresh, "yada")
# test a good path refresh
- which_cmd = "where" if is_win else "which"
+ which_cmd = "where" if is_win else "command -v"
path = os.popen("{0} git".format(which_cmd)).read().strip().split("\n")[0]
refresh(path)