| Index: utils/tests/pub/oauth2_test.dart
|
| diff --git a/utils/tests/pub/oauth2_test.dart b/utils/tests/pub/oauth2_test.dart
|
| index d8f3b34a048facd551901a743cbfe9997a5b6b5b..634826e4935da2e59550877c8f4122694db0fb9e 100644
|
| --- a/utils/tests/pub/oauth2_test.dart
|
| +++ b/utils/tests/pub/oauth2_test.dart
|
| @@ -190,7 +190,7 @@ void authorizePub(ScheduledProcess pub, ScheduledServer server,
|
| 'Looks great! Are you ready to upload your package (y/n)? '
|
| 'Pub needs your authorization to upload packages on your behalf.'));
|
|
|
| - expectLater(pub.nextLine().chain((line) {
|
| + expectLater(pub.nextLine().then((line) {
|
| var match = new RegExp(r'[?&]redirect_uri=([0-9a-zA-Z%+-]+)[$&]')
|
| .firstMatch(line);
|
| expect(match, isNotNull);
|
|
|