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

Unified Diff: tests/presubmit_unittest.py

Issue 2446001: Fix smoke tests on Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools/
Patch Set: '' Created 10 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
Index: tests/presubmit_unittest.py
===================================================================
--- tests/presubmit_unittest.py (revision 48611)
+++ tests/presubmit_unittest.py (working copy)
@@ -750,7 +750,8 @@
self.assertEquals(results[i].LocalPath(),
presubmit.normpath(item[1][i]))
# Same number of expected results.
- self.assertEquals(sorted([f.LocalPath() for f in results]),
+ self.assertEquals(sorted([f.LocalPath().replace(presubmit.os.sep, '/')
+ for f in results]),
sorted(item[1]))
def testCustomFilter(self):

Powered by Google App Engine
This is Rietveld 408576698