Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1224)

Unified Diff: sdk/lib/_internal/pub/test/lish/archives_and_uploads_a_package_test.dart

Issue 164773003: Change ScheduledProcess's output streams over to be ScheduledStreams. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: code review Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: sdk/lib/_internal/pub/test/lish/archives_and_uploads_a_package_test.dart
diff --git a/sdk/lib/_internal/pub/test/lish/archives_and_uploads_a_package_test.dart b/sdk/lib/_internal/pub/test/lish/archives_and_uploads_a_package_test.dart
index def2c85acc346e9bdba6851e46334be72ccfca3d..e5497506cdc9f567e31b55cea97e000831fd5b3f 100644
--- a/sdk/lib/_internal/pub/test/lish/archives_and_uploads_a_package_test.dart
+++ b/sdk/lib/_internal/pub/test/lish/archives_and_uploads_a_package_test.dart
@@ -32,10 +32,8 @@ main() {
request.response.close();
});
- expect(pub.nextLine(), completion(matches(r'Uploading\.\.\.+')));
-
- expect(pub.nextLine(),
- completion(equals('Package test_pkg 1.0.0 uploaded!')));
+ pub.stdout.expect(matches(r'Uploading\.\.\.+'));
+ pub.stdout.expect('Package test_pkg 1.0.0 uploaded!');
pub.shouldExit(exit_codes.SUCCESS);
});

Powered by Google App Engine
This is Rietveld 408576698