Index: tests/isolate/illegal_msg_function_test.dart |
diff --git a/tests/isolate/illegal_msg_function_test.dart b/tests/isolate/illegal_msg_function_test.dart |
index 5493abe504be7dddc7877184c3dc67d28b219a04..95d409fa07c209bd380f7dcaea16b42ff3c08f24 100644 |
--- a/tests/isolate/illegal_msg_function_test.dart |
+++ b/tests/isolate/illegal_msg_function_test.dart |
@@ -9,8 +9,6 @@ import "dart:async" show Future; |
import "package:unittest/unittest.dart"; |
import "remote_unittest_helper.dart"; |
-funcFoo(x) => x + 2; |
- |
echo(sendPort) { |
var port = new ReceivePort(); |
sendPort.send(port.sendPort); |
@@ -22,7 +20,7 @@ echo(sendPort) { |
void main([args, port]) { |
if (testRemote(main, port)) return; |
test("msg_function", () { |
- var function = funcFoo; |
+ var function = (x) => x + 2; |
ReceivePort port = new ReceivePort(); |
Future spawn = Isolate.spawn(echo, port.sendPort); |
var caught_exception = false; |