Index: tests/isolate/issue_24243_child1_isolate.dart |
diff --git a/tests/isolate/issue_21398_child_isolate.dart b/tests/isolate/issue_24243_child1_isolate.dart |
similarity index 65% |
copy from tests/isolate/issue_21398_child_isolate.dart |
copy to tests/isolate/issue_24243_child1_isolate.dart |
index 2d7b23cfdcb42cad5818d44a216902c61c242309..950f12303cd827a6a65bdaf31d7adacd823bf38a 100644 |
--- a/tests/isolate/issue_21398_child_isolate.dart |
+++ b/tests/isolate/issue_24243_child1_isolate.dart |
@@ -3,18 +3,16 @@ |
// BSD-style license that can be found in the LICENSE file. |
import 'dart:isolate'; |
-import "package:expect/expect.dart"; |
- |
-class FromChildIsolate { |
- String toString() => 'from child isolate'; |
-} |
main(List<String> args, message) { |
var sendPort = message; |
try { |
- sendPort.send(new FromChildIsolate()); |
+ var list0 = <int>[1, 2, 3]; |
+ var list1 = <int>[4, 5, 6]; |
+ var list2 = <int>[7, 8, 9]; |
+ var list = new List<List<int>>.from([list0, list1, list2]); |
+ sendPort.send(list); |
} catch(error) { |
- Expect.isTrue(error is ArgumentError); |
sendPort.send("Invalid Argument(s)."); |
} |
} |