Index: tests/isolate/function_send_test.dart |
diff --git a/tests/isolate/function_send_test.dart b/tests/isolate/function_send_test.dart |
index 95f4f93171c7156e03a8a27da80eae206da08bff..51d26ba58ebab56be3757ad1274cef2dc82a5aaa 100644 |
--- a/tests/isolate/function_send_test.dart |
+++ b/tests/isolate/function_send_test.dart |
@@ -153,13 +153,12 @@ void testUnsendable(name, func) { |
asyncStart(); |
var noReply = new RawReceivePort((_) { throw "Unexpected message: $_"; }); |
- // Currently succeedes incorrectly in dart2js. |
- Expect.throws(() { /// 01: ok |
- noReply.sendPort.send(func); /// 01: continued |
- }, null, "send direct"); /// 01: continued |
- Expect.throws(() { /// 01: continued |
- noReply.sendPort.send([func]); /// 01: continued |
- }, null, "send wrapped"); /// 01: continued |
+ Expect.throws(() { |
+ noReply.sendPort.send(func); |
+ }, null, "send direct"); |
+ Expect.throws(() { |
+ noReply.sendPort.send([func]); |
+ }, null, "send wrapped"); |
scheduleMicrotask(() { |
noReply.close(); |
asyncEnd(); |