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}) { |