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

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

Issue 2771453003: Format all tests. (Closed)
Patch Set: Format files Created 3 years, 8 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/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) {

Powered by Google App Engine
This is Rietveld 408576698