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

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

Issue 22872012: Remove Encoding-enum from dart:io and add interface in dart:convert. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix typo. Created 7 years, 4 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/stdin_sync_test.dart ('k') | tests/standalone/io/string_decoder_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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"]);
« no previous file with comments | « tests/standalone/io/stdin_sync_test.dart ('k') | tests/standalone/io/string_decoder_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698