Index: tests/isolate/spawn_uri_nested_vm_test.dart |
diff --git a/tests/isolate/spawn_uri_nested_vm_test.dart b/tests/isolate/spawn_uri_nested_vm_test.dart |
index 91b413c324fecb1cccb0c8c59129755367c40414..b231fb8475d3f914bda2f6bacdf75ba056cbcae6 100644 |
--- a/tests/isolate/spawn_uri_nested_vm_test.dart |
+++ b/tests/isolate/spawn_uri_nested_vm_test.dart |
@@ -7,14 +7,17 @@ |
// other isolate's code. |
// OtherScripts=spawn_uri_nested_child1_vm_isolate.dart spawn_uri_nested_child2_vm_isolate.dart |
library NestedSpawnUriLibrary; |
+ |
import 'dart:isolate'; |
import 'package:unittest/unittest.dart'; |
main() { |
test('isolate fromUri - nested send and reply', () { |
ReceivePort port = new ReceivePort(); |
- Isolate.spawnUri(Uri.parse('spawn_uri_nested_child1_vm_isolate.dart'), |
- [], [[1, 2], port.sendPort]); |
+ Isolate.spawnUri(Uri.parse('spawn_uri_nested_child1_vm_isolate.dart'), [], [ |
+ [1, 2], |
+ port.sendPort |
+ ]); |
port.first.then(expectAsync((result) => print(result))); |
}); |
} |