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

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

Issue 10911085: Emit a non-zero exit code when Pub fails. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 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
Index: utils/tests/pub/pub_install_git_test.dart
diff --git a/utils/tests/pub/pub_install_git_test.dart b/utils/tests/pub/pub_install_git_test.dart
index 1c98af149b38b245d4717c5ef9da4306254642bc..8222887159507a50191885d534f72e9efa481705 100644
--- a/utils/tests/pub/pub_install_git_test.dart
+++ b/utils/tests/pub/pub_install_git_test.dart
@@ -99,7 +99,8 @@ main() {
schedulePub(args: ['install'],
error: const RegExp(@'^FormatException: The name you specified for '
@'your dependency, "weird-name", doesn' @"'" @'t match the name '
- @'"foo" \(from "\.\./foo\.git"\)\.'));
+ @'"foo" \(from "\.\./foo\.git"\)\.'),
+ exitCode: 1);
run();
});

Powered by Google App Engine
This is Rietveld 408576698