Index: tests/lib/async/deferred/deferred_in_isolate_test.dart |
diff --git a/tests/lib/async/deferred/deferred_in_isolate_test.dart b/tests/lib/async/deferred/deferred_in_isolate_test.dart |
deleted file mode 100644 |
index 08cd0dae0034c8f5a519e8bbb35315ca6050c29a..0000000000000000000000000000000000000000 |
--- a/tests/lib/async/deferred/deferred_in_isolate_test.dart |
+++ /dev/null |
@@ -1,21 +0,0 @@ |
-import 'dart:isolate'; |
-import 'dart:async'; |
-import 'package:unittest/unittest.dart'; |
- |
-import 'deferred_in_isolate_lib.dart' deferred as lib; |
- |
-loadDeferred(port) { |
- lib.loadLibrary().then((_) { |
- port.send(lib.f()); |
- }); |
-} |
- |
-main() { |
- test("Deferred loading in isolate", () { |
- ReceivePort port = new ReceivePort(); |
- port.first.then(expectAsync((msg) { |
- expect(msg, equals("hi")); |
- })); |
- Isolate.spawn(loadDeferred, port.sendPort); |
- }); |
-} |