Index: tests/standalone/io/secure_socket_renegotiate_client.dart |
diff --git a/tests/standalone/io/secure_socket_renegotiate_client.dart b/tests/standalone/io/secure_socket_renegotiate_client.dart |
index 49d9c99e9a64a799b3778f553e678a0ae29bc0dd..0c724120fd97052e0648adacb733026882fb5c27 100644 |
--- a/tests/standalone/io/secure_socket_renegotiate_client.dart |
+++ b/tests/standalone/io/secure_socket_renegotiate_client.dart |
@@ -44,7 +44,7 @@ void runClient(int port) { |
expectEquals('CN=localhost', certificate.subject); |
expectEquals('CN=myauthority', certificate.issuer); |
StreamIterator<String> input = new StreamIterator(socket |
- .transform(new StringDecoder()) |
+ .transform(UTF8.decoder) |
.transform(new LineSplitter())); |
socket.writeln('first'); |
input.moveNext() |