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

Unified Diff: tests/isolate/spawn_uri_exported_main_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/spawn_uri_exported_main_test.dart
diff --git a/tests/isolate/spawn_uri_exported_main_test.dart b/tests/isolate/spawn_uri_exported_main_test.dart
index 252980d174eca3dd71488d4b8513536546e634d8..e556dc647824d4943848b9f5bc86d107430be89e 100644
--- a/tests/isolate/spawn_uri_exported_main_test.dart
+++ b/tests/isolate/spawn_uri_exported_main_test.dart
@@ -4,17 +4,19 @@ import "package:expect/expect.dart";
main() {
print("Spawning isolate.");
- var t = new Timer(new Duration(seconds:5), () {
- Expect.fail("Isolate was not spawned successfully.");
+ var t = new Timer(new Duration(seconds: 5), () {
+ Expect.fail("Isolate was not spawned successfully.");
});
var rp = new RawReceivePort();
rp.handler = (msg) {
print("Spawned main called.");
Expect.equals(msg, 50);
- rp.close();
+ rp.close();
};
- Isolate.spawnUri(Uri.parse("spawn_uri_exported_main.dart"), null, rp.sendPort).then((_) {
+ Isolate
+ .spawnUri(Uri.parse("spawn_uri_exported_main.dart"), null, rp.sendPort)
+ .then((_) {
print("Loaded");
- t.cancel();
+ t.cancel();
});
}

Powered by Google App Engine
This is Rietveld 408576698