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

Unified Diff: tests/isolate/ondone_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/isolate/ondone_test.dart
diff --git a/tests/isolate/ondone_test.dart b/tests/isolate/ondone_test.dart
index ec0007cab06d4026e2b204f47f455e577654a8f6..6b247c77fe5e2136f5ed8c7912ea9dd509642fd6 100644
--- a/tests/isolate/ondone_test.dart
+++ b/tests/isolate/ondone_test.dart
@@ -19,7 +19,6 @@ void isomain(SendPort replyPort) {
replyPort.send(port.sendPort);
}
-
void main() {
testExit();
testCancelExit();
@@ -29,7 +28,7 @@ void main() {
void testExit() {
bool mayComplete = false;
asyncStart();
- var completer = new Completer(); // Completed by first reply from isolate.
+ var completer = new Completer(); // Completed by first reply from isolate.
RawReceivePort reply = new RawReceivePort(completer.complete);
RawReceivePort onExitPort;
onExitPort = new RawReceivePort((v) {
@@ -55,11 +54,10 @@ void testExit() {
});
}
-
void testCancelExit() {
bool mayComplete = false;
asyncStart();
- var completer = new Completer(); // Completed by first reply from isolate.
+ var completer = new Completer(); // Completed by first reply from isolate.
RawReceivePort reply = new RawReceivePort(completer.complete);
RawReceivePort onExitPort2 = new RawReceivePort((_) {
throw "RECEIVED EXIT MESSAGE";
@@ -98,7 +96,7 @@ void testCancelExit() {
void testOverrideResponse() {
bool mayComplete = false;
asyncStart();
- var completer = new Completer(); // Completed by first reply from isolate.
+ var completer = new Completer(); // Completed by first reply from isolate.
RawReceivePort reply = new RawReceivePort(completer.complete);
RawReceivePort onExitPort;
onExitPort = new RawReceivePort((v) {

Powered by Google App Engine
This is Rietveld 408576698