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

Unified Diff: tests/checkout_test.py

Issue 2073553003: Fix presubmit checkout test after git 2.9.0 (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Patch Set: Created 4 years, 6 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/checkout_test.py
diff --git a/tests/checkout_test.py b/tests/checkout_test.py
index de0d7e62501101cf7eaa26fd69aae15cb31430cd..bd6b9b712d1e7fa9c5c69f8604680740f4fe4beb 100755
--- a/tests/checkout_test.py
+++ b/tests/checkout_test.py
@@ -311,7 +311,8 @@ class GitCheckout(GitBaseTest):
co = self._get_co(None)
self._check_move(co)
out = subprocess2.check_output(
- ['git', 'diff', '--staged', '--name-status'], cwd=co.project_path)
+ ['git', 'diff', '--staged', '--name-status', '--no-renames'],
+ cwd=co.project_path)
out = sorted(out.splitlines())
expected = sorted(
[
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698