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

Unified Diff: tests/standalone/io/secure_socket_renegotiate_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
Index: tests/standalone/io/secure_socket_renegotiate_test.dart
diff --git a/tests/standalone/io/secure_socket_renegotiate_test.dart b/tests/standalone/io/secure_socket_renegotiate_test.dart
index 54736a8ea09d97d6d2b11c202721a335ae6ca688..ee115a91ae7bd4cfbed37ca2fdae97e58b7b0669 100644
--- a/tests/standalone/io/secure_socket_renegotiate_test.dart
+++ b/tests/standalone/io/secure_socket_renegotiate_test.dart
@@ -30,7 +30,7 @@ Future<SecureServerSocket> runServer() {
Expect.isNull(socket.peerCertificate);
StreamIterator<String> input =
- new StreamIterator(socket.transform(new StringDecoder())
+ new StreamIterator(socket.transform(UTF8.decoder)
.transform(new LineSplitter()));
input.moveNext().then((success) {
Expect.isTrue(success);
« no previous file with comments | « tests/standalone/io/secure_socket_renegotiate_client.dart ('k') | tests/standalone/io/stdin_sync_script.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698