Chromium Code Reviews

Unified Diff: sdk/lib/_internal/pub/test/lish/upload_form_is_missing_fields_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: update pubspecs Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: sdk/lib/_internal/pub/test/lish/upload_form_is_missing_fields_test.dart
diff --git a/sdk/lib/_internal/pub/test/lish/upload_form_is_missing_fields_test.dart b/sdk/lib/_internal/pub/test/lish/upload_form_is_missing_fields_test.dart
index dd4fd51e7489ad7d1090116364d2e69550625251..3513df514c3a2b050086c907c4885d443687549e 100644
--- a/sdk/lib/_internal/pub/test/lish/upload_form_is_missing_fields_test.dart
+++ b/sdk/lib/_internal/pub/test/lish/upload_form_is_missing_fields_test.dart
@@ -24,8 +24,8 @@ main() {
var body = {'url': 'http://example.com/upload'};
handleUploadForm(server, body);
- expect(pub.nextErrLine(), completion(equals('Invalid server response:')));
- expect(pub.nextErrLine(), completion(equals(JSON.encode(body))));
+ pub.stderr.expect('Invalid server response:');
+ pub.stderr.expect(JSON.encode(body));
pub.shouldExit(1);
});
}

Powered by Google App Engine