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

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

Issue 22927016: Remove the LineTransformer from dart:io (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Changed one status file 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_client.dart
diff --git a/tests/standalone/io/secure_socket_renegotiate_client.dart b/tests/standalone/io/secure_socket_renegotiate_client.dart
index 9ac2192b07f7f661e387d01eb17fe34221db51a3..49d9c99e9a64a799b3778f553e678a0ae29bc0dd 100644
--- a/tests/standalone/io/secure_socket_renegotiate_client.dart
+++ b/tests/standalone/io/secure_socket_renegotiate_client.dart
@@ -8,6 +8,7 @@
// a client certificate to be sent.
import "dart:async";
+import "dart:convert";
import "dart:io";
const HOST_NAME = "localhost";
@@ -44,7 +45,7 @@ void runClient(int port) {
expectEquals('CN=myauthority', certificate.issuer);
StreamIterator<String> input = new StreamIterator(socket
.transform(new StringDecoder())
- .transform(new LineTransformer()));
+ .transform(new LineSplitter()));
socket.writeln('first');
input.moveNext()
.then((success) {

Powered by Google App Engine
This is Rietveld 408576698