| Index: sdk/lib/_internal/pub/test/oauth2/utils.dart
|
| diff --git a/sdk/lib/_internal/pub/test/oauth2/utils.dart b/sdk/lib/_internal/pub/test/oauth2/utils.dart
|
| index 5fa2dd632c10caebfa0d564eb9a7dda81f5898fc..fa3ce9881067e11c5b0acb5118d21a815eeedce2 100644
|
| --- a/sdk/lib/_internal/pub/test/oauth2/utils.dart
|
| +++ b/sdk/lib/_internal/pub/test/oauth2/utils.dart
|
| @@ -19,12 +19,8 @@ import '../test_pub.dart';
|
|
|
| void authorizePub(ScheduledProcess pub, ScheduledServer server,
|
| [String accessToken="access token"]) {
|
| - // TODO(rnystrom): The confirm line is run together with this one because
|
| - // in normal usage, the user will have entered a newline on stdin which
|
| - // gets echoed to the terminal. Do something better here?
|
| - expect(pub.nextLine(), completion(equals(
|
| - 'Looks great! Are you ready to upload your package (y/n)? '
|
| - 'Pub needs your authorization to upload packages on your behalf.')));
|
| + expect(pub.nextLine(), completion(equals('Pub needs your authorization to '
|
| + 'upload packages on your behalf.')));
|
|
|
| expect(pub.nextLine().then((line) {
|
| var match = new RegExp(r'[?&]redirect_uri=([0-9a-zA-Z%+-]+)[$&]')
|
|
|