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

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

Issue 12504006: Make IOSink implement StringSink (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Addressed second round of review comments Created 7 years, 9 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
« no previous file with comments | « tests/standalone/io/secure_socket_test.dart ('k') | tests/standalone/io/socket_exception_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/io/socket_close_test.dart
diff --git a/tests/standalone/io/socket_close_test.dart b/tests/standalone/io/socket_close_test.dart
index 4d72f3c9773d0c5b81e1e16302c7d38e246a16e7..a48f5e8bbaf4eb70a8e98e15b06a49f4853134f7 100644
--- a/tests/standalone/io/socket_close_test.dart
+++ b/tests/standalone/io/socket_close_test.dart
@@ -101,7 +101,7 @@ class SocketClose {
onError: (error) => errorHandler(socket));
void writeHello() {
- socket.add("Hello".codeUnits);
+ socket.write("Hello");
}
_iterations++;
@@ -224,7 +224,7 @@ class SocketCloseServer {
}
void writeHello() {
- connection.add("Hello".codeUnits);
+ connection.write("Hello");
}
void dataHandler(bytes) {
« no previous file with comments | « tests/standalone/io/secure_socket_test.dart ('k') | tests/standalone/io/socket_exception_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698