summaryrefslogtreecommitdiff
path: root/test/git/test_git.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/git/test_git.py')
-rw-r--r--test/git/test_git.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/git/test_git.py b/test/git/test_git.py
index d0f3b72e..2b2464b0 100644
--- a/test/git/test_git.py
+++ b/test/git/test_git.py
@@ -24,7 +24,7 @@ class TestGit(object):
assert_equal(["-s", "-t"], self.git.transform_kwargs(**{'s': True, 't': True}))
def test_it_executes_git_to_shell_and_returns_result(self):
- assert_match('^git version [\d\.]*$', self.git.execute(["git","version"]))
+ assert_match('^git version [\d\.]{2}.*$', self.git.execute(["git","version"]))
def test_it_accepts_stdin(self):
filename = fixture_path("cat_file_blob")