Index: dart/tests/isolate/spawn_uri_multi_test.dart |
diff --git a/dart/tests/isolate/spawn_uri_negative_test.dart b/dart/tests/isolate/spawn_uri_multi_test.dart |
similarity index 72% |
rename from dart/tests/isolate/spawn_uri_negative_test.dart |
rename to dart/tests/isolate/spawn_uri_multi_test.dart |
index 6e5be3beceb45f139183f4a5f215582801c78219..61d9a084d9469e79b38ab7622ebafae67c3dcaad 100644 |
--- a/dart/tests/isolate/spawn_uri_negative_test.dart |
+++ b/dart/tests/isolate/spawn_uri_multi_test.dart |
@@ -8,13 +8,20 @@ |
// OtherScripts=spawn_uri_child_isolate.dart |
library spawn_tests; |
import 'dart:isolate'; |
-import '../../pkg/unittest/lib/unittest.dart'; |
+import 'package:unittest/unittest.dart'; |
+ |
+/* Dummy import so multi-test copies the file. |
+import 'spawn_uri_child_isolate.dart'; |
+*/ |
main() { |
test('isolate fromUri - negative test', () { |
ReceivePort port = new ReceivePort(); |
port.receive(expectAsync2((msg, _) { |
- expect(msg, equals('re: hello')); // should be hi, not hello |
+ String expectedMessage = 're: hi'; |
+ // Should be hi, not hello. |
+ expectedMessage = 're: hello'; /// 01: runtime error |
+ expect(msg, equals(expectedMessage)); |
port.close(); |
})); |