From 8f043f00d5161794ef538802dcc9ba75e375c058 Mon Sep 17 00:00:00 2001 From: Florian Apolloner Date: Sat, 31 May 2008 18:29:51 +0200 Subject: fixed last failing test, hopefully this works for all git versions... --- test/git/test_git.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'test/git/test_git.py') diff --git a/test/git/test_git.py b/test/git/test_git.py index e358d01b..3bf7e362 100644 --- a/test/git/test_git.py +++ b/test/git/test_git.py @@ -47,6 +47,7 @@ class TestGit(object): def test_it_does_not_strip_output_when_using_with_raw_output(self): # Note: trailing newline - assert_match(r"^git: 'this-does-not-exist' is not a git-command" + os.linesep, + assert_match(r"^git: 'this-does-not-exist' is not a git-command\. See 'git --help'\." + + os.linesep, self.git.this_does_not_exist(with_stderr=True, with_raw_output=True)) -- cgit v1.2.1