| Index: sdk/lib/_internal/pub/test/lish/force_publishes_if_there_are_warnings_test.dart
|
| diff --git a/sdk/lib/_internal/pub/test/lish/force_publishes_if_there_are_warnings_test.dart b/sdk/lib/_internal/pub/test/lish/force_publishes_if_there_are_warnings_test.dart
|
| index d097e72a7bf323c0d4ff08315b1e568c379e5c27..85ce297148929a7716006b2178c42cb7deaa6d01 100644
|
| --- a/sdk/lib/_internal/pub/test/lish/force_publishes_if_there_are_warnings_test.dart
|
| +++ b/sdk/lib/_internal/pub/test/lish/force_publishes_if_there_are_warnings_test.dart
|
| @@ -4,8 +4,9 @@
|
|
|
| import 'dart:convert';
|
|
|
| -import 'package:scheduled_test/scheduled_test.dart';
|
| import 'package:scheduled_test/scheduled_server.dart';
|
| +import 'package:scheduled_test/scheduled_stream.dart';
|
| +import 'package:scheduled_test/scheduled_test.dart';
|
|
|
| import '../../lib/src/exit_codes.dart' as exit_codes;
|
| import '../descriptor.dart' as d;
|
| @@ -36,11 +37,11 @@ main() {
|
| });
|
|
|
| pub.shouldExit(exit_codes.SUCCESS);
|
| - expect(pub.remainingStderr(), completion(contains(
|
| - 'Suggestions:\n* Author "Nathan Weizenbaum" in pubspec.yaml'
|
| - ' should have an email address\n'
|
| - ' (e.g. "name <email>").')));
|
| - expect(pub.remainingStdout(), completion(contains(
|
| - 'Package test_pkg 1.0.0 uploaded!')));
|
| + pub.stderr.expect(consumeThrough('Suggestions:'));
|
| + pub.stderr.expect(emitsLines(
|
| + '* Author "Nathan Weizenbaum" in pubspec.yaml should have an email '
|
| + 'address\n'
|
| + ' (e.g. "name <email>").'));
|
| + pub.stdout.expect(consumeThrough('Package test_pkg 1.0.0 uploaded!'));
|
| });
|
| }
|
|
|