Index: tests/standalone/io/process_stdin_transform_unsubscribe_script.dart |
diff --git a/tests/standalone/io/process_stdin_transform_unsubscribe_script.dart b/tests/standalone/io/process_stdin_transform_unsubscribe_script.dart |
index 06b42d8c610d4292950ab92c7a0357881a91af12..910af044a9d30d4872e7f14151d4474de0447656 100644 |
--- a/tests/standalone/io/process_stdin_transform_unsubscribe_script.dart |
+++ b/tests/standalone/io/process_stdin_transform_unsubscribe_script.dart |
@@ -10,7 +10,7 @@ import "dart:io"; |
main() { |
var subscription; |
subscription = stdin |
- .transform(new StringDecoder()) |
+ .transform(UTF8.decoder) |
.transform(new LineSplitter()) |
.listen((String line) { |
// Unsubscribe after the first line. |