diff --git a/git_cl.py b/git_cl.py index 886baee85b..849e12ea4b 100755 --- a/git_cl.py +++ b/git_cl.py @@ -3722,7 +3722,7 @@ class _GitCookiesChecker(object): problems = [False] def add_problem(): if not problems[0]: - print('.gitcookies problem report:\n') + print('\n\n.gitcookies problem report:\n') problems[0] = True if self.has_generic_host(): diff --git a/tests/git_cl_test.py b/tests/git_cl_test.py index 068729d145..df5fd81055 100755 --- a/tests/git_cl_test.py +++ b/tests/git_cl_test.py @@ -513,7 +513,7 @@ class GitCookiesCheckerTest(TestCase): expected = f.read() def by_line(text): return [l.rstrip() for l in text.rstrip().splitlines()] - self.assertEqual(by_line(sys.stdout.getvalue()), by_line(expected)) + self.assertEqual(by_line(sys.stdout.getvalue().strip()), by_line(expected)) class TestGitCl(TestCase): def setUp(self):