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); |