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

Unified Diff: utils/tests/pub/test_pub.dart

Issue 10905202: Look for git.cmd on Windows. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Code review changes. Created 8 years, 3 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
« utils/pub/io.dart ('K') | « utils/pub/io.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/tests/pub/test_pub.dart
diff --git a/utils/tests/pub/test_pub.dart b/utils/tests/pub/test_pub.dart
index 08b3e178e8ac410e0ba5b1a46e0fd6ff7f645e35..e6a972b6403c08cd66c1a5cdfe00db044fdb519a 100644
--- a/utils/tests/pub/test_pub.dart
+++ b/utils/tests/pub/test_pub.dart
@@ -983,11 +983,10 @@ class GitRepoDescriptor extends DirectoryDescriptor {
}
Future<String> _runGit(List<String> args, Directory workingDir) {
- return runProcess('git', args, workingDir: workingDir.path).
- transform((result) {
- if (!result.success) throw "Error running git: ${result.stderr}";
- return result.stdout;
- });
+ return runGit(args, workingDir: workingDir.path).transform((result) {
+ if (!result.success) throw "Error running git: ${result.stderr}";
+ return result.stdout;
+ });
}
}
« utils/pub/io.dart ('K') | « utils/pub/io.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698