Index: tests/standalone/io/raw_socket_write_destroy_test.dart |
diff --git a/tests/standalone/io/raw_socket_write_destroy_test.dart b/tests/standalone/io/raw_socket_write_destroy_test.dart |
index b5eed7c5b4792149ee544104f326db8137205f8c..19871033a577f478a7b49f2098387ae31ae15c8d 100644 |
--- a/tests/standalone/io/raw_socket_write_destroy_test.dart |
+++ b/tests/standalone/io/raw_socket_write_destroy_test.dart |
@@ -11,6 +11,7 @@ import "package:expect/expect.dart"; |
import "dart:async"; |
import "dart:io"; |
import "dart:isolate"; |
+ |
const SERVER_ADDRESS = "127.0.0.1"; |
void testWriteDestroyServer() { |
@@ -26,6 +27,7 @@ void testWriteDestroyServer() { |
offset += n; |
socket.writeEventsEnabled = true; |
} |
+ |
socket.listen((e) { |
if (e == RawSocketEvent.WRITE) { |
if (offset == buffer.length) { |
@@ -77,6 +79,7 @@ void testWriteDestroyClient() { |
offset += n; |
socket.writeEventsEnabled = true; |
} |
+ |
socket.listen((e) { |
if (e == RawSocketEvent.WRITE) { |
if (offset == buffer.length) { |