Index: tests/standalone/io/stdout_stderr_test.dart |
diff --git a/tests/standalone/io/stdout_stderr_test.dart b/tests/standalone/io/stdout_stderr_test.dart |
index 1f7ac91bf27613251e90b7356a61cea1ceeb5053..296a8d6415a76f474f498cfa4f62d5678325ae24 100644 |
--- a/tests/standalone/io/stdout_stderr_test.dart |
+++ b/tests/standalone/io/stdout_stderr_test.dart |
@@ -4,12 +4,13 @@ |
import "package:expect/expect.dart"; |
import "dart:async"; |
+import "dart:convert"; |
import "dart:io"; |
callIOSink(IOSink sink) { |
// Call all methods on IOSink. |
- sink.encoding = Encoding.ASCII; |
- Expect.equals(Encoding.ASCII, sink.encoding); |
+ sink.encoding = ASCII; |
+ Expect.equals(ASCII, sink.encoding); |
sink.write("Hello\n"); |
sink.writeln("Hello"); |
sink.writeAll(["H", "e", "l", "lo\n"]); |