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(); |
}); |
} |