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 6966a70770394133d24cd09178da8a70e2ddcd6a..5996173810f1063bae49174630bdedea5c716f6d 100644 |
--- a/tests/standalone/io/socket_close_test.dart |
+++ b/tests/standalone/io/socket_close_test.dart |
@@ -102,7 +102,7 @@ class SocketClose { |
void writeHello() { |
int bytesWritten = 0; |
while (bytesWritten != 5) { |
- bytesWritten += _socket.writeList("Hello".charCodes(), |
+ bytesWritten += _socket.writeList("Hello".charCodes, |
bytesWritten, |
5 - bytesWritten); |
} |
@@ -229,7 +229,7 @@ class SocketCloseServer { |
void writeHello() { |
int bytesWritten = 0; |
while (bytesWritten != 5) { |
- bytesWritten += connection.writeList("Hello".charCodes(), |
+ bytesWritten += connection.writeList("Hello".charCodes, |
bytesWritten, |
5 - bytesWritten); |
} |