Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(675)

Unified Diff: tests/git_cl_test.py

Issue 10447021: Automatically adds quotes on Windows when necessary (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: Fix test Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « git_cl.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/git_cl_test.py
diff --git a/tests/git_cl_test.py b/tests/git_cl_test.py
index 29e5cc5f50ffea4447461542ff51bb3b52945d9c..4e5bd5de70de2d1a440b5e57e96122c0414b2f7a 100755
--- a/tests/git_cl_test.py
+++ b/tests/git_cl_test.py
@@ -112,11 +112,11 @@ class TestGitCl(TestCase):
'M\t.gitignore\n'),
((['git', 'config', 'branch.master.rietveldissue'],), ''),
((['git', 'config', 'branch.master.rietveldpatchset'],), ''),
- ((['git', 'log', '--pretty=format:%s%n%n%b', 'master...'],), 'foo'),
+ ((['git', 'log', '--pretty=format:%s%n%n%b', 'master..'],), 'foo'),
((['git', 'config', 'user.email'],), 'me@example.com'),
((['git', 'diff', '--no-ext-diff', '--stat', '-M', 'master...'],),
'+dat'),
- ((['git', 'log', '--pretty=format:%s\n\n%b', 'master..'],), 'desc\n'),
+ ((['git', 'log', '--pretty=format:%s%n%n%b', 'master..'],), 'desc\n'),
]
@staticmethod
@@ -345,7 +345,7 @@ class TestGitCl(TestCase):
'M\t.gitignore\n'),
((['git', 'config', 'branch.master.rietveldissue'],), ''),
((['git', 'config', 'branch.master.rietveldpatchset'],), ''),
- ((['git', 'log', '--pretty=format:%s%n%n%b', 'master...'],), 'foo'),
+ ((['git', 'log', '--pretty=format:%s%n%n%b', 'master..'],), 'foo'),
((['git', 'config', 'user.email'],), 'me@example.com'),
((['git', 'diff', '--no-ext-diff', '--stat', '-M', 'master...'],),
'+dat'),
@@ -354,7 +354,7 @@ class TestGitCl(TestCase):
@staticmethod
def _gerrit_upload_calls(description, reviewers):
calls = [
- ((['git', 'log', '--pretty=format:%s\n\n%b', 'master..'],),
+ ((['git', 'log', '--pretty=format:%s%n%n%b', 'master..'],),
description),
((['git', 'config', 'rietveld.cc'],), '')
]
« no previous file with comments | « git_cl.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698