| Index: sdk/lib/_internal/pub/test/hosted/version_negotiation_test.dart
|
| diff --git a/sdk/lib/_internal/pub/test/hosted/version_negotiation_test.dart b/sdk/lib/_internal/pub/test/hosted/version_negotiation_test.dart
|
| index 64247ea1b453a9d6d05b2a1c995750a03303b7e5..b25ffa6ab81a9e47bbe8463bf46befc909f9d551 100644
|
| --- a/sdk/lib/_internal/pub/test/hosted/version_negotiation_test.dart
|
| +++ b/sdk/lib/_internal/pub/test/hosted/version_negotiation_test.dart
|
| @@ -62,9 +62,9 @@ main() {
|
|
|
| pub.shouldExit(1);
|
|
|
| - expect(pub.remainingStderr(), completion(equals(
|
| + pub.stderr.expect(emitsString(
|
| "Pub 0.1.2+3 is incompatible with the current version of 127.0.0.1.\n"
|
| - "Upgrade pub to the latest version and try again.")));
|
| + "Upgrade pub to the latest version and try again."));
|
| });
|
| });
|
| }
|
|
|