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 b93824428524cc6f399786e6b80f7f62d79b0d2d..54736a8ea09d97d6d2b11c202721a335ae6ca688 100644 |
--- a/tests/standalone/io/secure_socket_renegotiate_test.dart |
+++ b/tests/standalone/io/secure_socket_renegotiate_test.dart |
@@ -6,11 +6,13 @@ |
// are in separate processes, and that connection renegotiation works, and |
// can request a client certificate to be sent. |
-import "package:expect/expect.dart"; |
-import "package:path/path.dart"; |
import "dart:async"; |
+import "dart:convert"; |
import "dart:io"; |
+import "package:expect/expect.dart"; |
+import "package:path/path.dart"; |
+ |
const HOST_NAME = "localhost"; |
const CERTIFICATE = "localhost_cert"; |
@@ -29,7 +31,7 @@ Future<SecureServerSocket> runServer() { |
StreamIterator<String> input = |
new StreamIterator(socket.transform(new StringDecoder()) |
- .transform(new LineTransformer())); |
+ .transform(new LineSplitter())); |
input.moveNext().then((success) { |
Expect.isTrue(success); |
Expect.equals('first', input.current); |