Index: tests/standalone/io/http_server_socket_test.dart |
diff --git a/tests/standalone/io/http_server_socket_test.dart b/tests/standalone/io/http_server_socket_test.dart |
index 4d5dd901f0e3cb40c5142c632725c0568dd2fdb6..a7722caa373e1918487e073b267d74b399db0950 100644 |
--- a/tests/standalone/io/http_server_socket_test.dart |
+++ b/tests/standalone/io/http_server_socket_test.dart |
@@ -127,9 +127,9 @@ class ServerSocketMock implements ServerSocket { |
_sockets = new Set<Socket>(); |
void spawnSocket(var data, String response, int cutOff, bool closeAsError) { |
- if (data is String) data = data.charCodes(); |
+ if (data is String) data = data.charCodes; |
SocketMock socket = new SocketMock(data, |
- response.charCodes(), |
+ response.charCodes, |
cutOff, |
closeAsError); |
_sockets.add(socket); |