Chromium Code Reviews

Unified Diff: sdk/lib/_internal/pub/test/lish/upload_form_url_is_not_a_string_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_url_is_not_a_string_test.dart
diff --git a/sdk/lib/_internal/pub/test/lish/upload_form_url_is_not_a_string_test.dart b/sdk/lib/_internal/pub/test/lish/upload_form_url_is_not_a_string_test.dart
index 7f0164a0b4d85d5b6a4b86b1ebb83adafa2e348d..2f32df41aa212fbd48c899068c1da6cb1b196507 100644
--- a/sdk/lib/_internal/pub/test/lish/upload_form_url_is_not_a_string_test.dart
+++ b/sdk/lib/_internal/pub/test/lish/upload_form_url_is_not_a_string_test.dart
@@ -31,8 +31,8 @@ main() {
};
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