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

Unified Diff: tests/standalone/io/mime_multipart_parser_test.dart

Issue 16125005: Make new StreamController be async by default. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address review comments Created 7 years, 7 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
« no previous file with comments | « tests/standalone/io/io_sink_test.dart ('k') | tests/standalone/io/regress_10026_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/io/mime_multipart_parser_test.dart
diff --git a/tests/standalone/io/mime_multipart_parser_test.dart b/tests/standalone/io/mime_multipart_parser_test.dart
index 5a81df74a1eadc591d0abef42e5aee4115f43617..49e5b6a7459e8b86b82e00bcca4b251fae202875 100644
--- a/tests/standalone/io/mime_multipart_parser_test.dart
+++ b/tests/standalone/io/mime_multipart_parser_test.dart
@@ -14,7 +14,7 @@ void testParse(String message,
List expectedParts,
bool expectError = false]) {
void testWrite(List<int> data, [int chunkSize = -1]) {
- StreamController controller = new StreamController();
+ StreamController controller = new StreamController(sync: true);
var stream = controller.stream.transform(
new MimeMultipartTransformer(boundary));
« no previous file with comments | « tests/standalone/io/io_sink_test.dart ('k') | tests/standalone/io/regress_10026_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698