| Index: tests/isolate/issue_24243_child2_isolate.dart
|
| diff --git a/tests/isolate/issue_21398_child_isolate.dart b/tests/isolate/issue_24243_child2_isolate.dart
|
| similarity index 61%
|
| copy from tests/isolate/issue_21398_child_isolate.dart
|
| copy to tests/isolate/issue_24243_child2_isolate.dart
|
| index 2d7b23cfdcb42cad5818d44a216902c61c242309..a3a6fe8b4b815cf9a728944647070c29241fae60 100644
|
| --- a/tests/isolate/issue_21398_child_isolate.dart
|
| +++ b/tests/isolate/issue_24243_child2_isolate.dart
|
| @@ -5,16 +5,15 @@
|
| 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 m0 = <int, String>{1:'one', 2:'two', 3:'three'};
|
| + var m1 = <int, String>{4:'four', 5:'five', 6:'six'};
|
| + var m2 = <int, String>{7:'seven', 8:'eight', 9:'nine'};
|
| + var m = new Map<int, Map<int, String>>.from({0:m0, 1:m1, 2:m2});
|
| + sendPort.send(m);
|
| } catch(error) {
|
| - Expect.isTrue(error is ArgumentError);
|
| sendPort.send("Invalid Argument(s).");
|
| }
|
| }
|
|
|