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

Unified Diff: test/stream_channel_test.dart

Issue 1632903004: Add StreamChannelTransformer. (Closed) Base URL: git@github.com:dart-lang/stream_channel.git@master
Patch Set: Code review changes Created 4 years, 11 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 | « lib/stream_channel.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/stream_channel_test.dart
diff --git a/test/stream_channel_test.dart b/test/stream_channel_test.dart
index 30a7db4fafb508dc9d92cd3637897e157f31147c..5f006c39c64a4ecf400a6bd7af4c4b34b9da48fb 100644
--- a/test/stream_channel_test.dart
+++ b/test/stream_channel_test.dart
@@ -44,7 +44,8 @@ void main() {
});
test("transform() transforms the channel", () {
- var transformed = channel.transform(UTF8);
+ var transformed = channel.transform(
+ new StreamChannelTransformer.fromCodec(UTF8));
streamController.add([102, 111, 111, 98, 97, 114]);
streamController.close();
« no previous file with comments | « lib/stream_channel.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698