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

Unified Diff: sdk/lib/_internal/pub/test/test_pub.dart

Issue 342763003: Show partial reports in pub get, serve, and build. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Revise. Created 6 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
Index: sdk/lib/_internal/pub/test/test_pub.dart
diff --git a/sdk/lib/_internal/pub/test/test_pub.dart b/sdk/lib/_internal/pub/test/test_pub.dart
index 7f82be65a73fa8601b613d67a2008f206eb4abb8..9342f6a54875dad7f38482e3875c62306fc00264 100644
--- a/sdk/lib/_internal/pub/test/test_pub.dart
+++ b/sdk/lib/_internal/pub/test/test_pub.dart
@@ -314,7 +314,8 @@ bool _abortScheduled = false;
/// Enum identifying a pub command that can be run with a well-defined success
/// output.
class RunCommand {
- static final get = new RunCommand('get', new RegExp(r'Got dependencies!$'));
+ static final get = new RunCommand('get', new RegExp(
+ r'Got dependencies!|Changed \d+ dependenc(y|ies)!'));
static final upgrade = new RunCommand('upgrade', new RegExp(
r'(No dependencies changed\.|Changed \d+ dependenc(y|ies)!)$'));
@@ -365,8 +366,9 @@ void pubCommand(RunCommand command,
schedulePub(args: allArgs, output: output, error: error, exitCode: exitCode);
}
-void pubGet({Iterable<String> args, error, warning}) {
- pubCommand(RunCommand.get, args: args, error: error, warning: warning);
+void pubGet({Iterable<String> args, output, error, warning}) {
+ pubCommand(RunCommand.get, args: args, output: output, error: error,
+ warning: warning);
}
void pubUpgrade({Iterable<String> args, output, error, warning}) {

Powered by Google App Engine
This is Rietveld 408576698