Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(188)

Unified Diff: tests/isolate/src/IsolateNegativeTest.dart

Issue 9652001: SendPort + ReceivePort changes: (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tests/isolate/src/IsolateComplexMessagesTest.dart ('k') | tests/isolate/src/MandelIsolateTest.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/isolate/src/IsolateNegativeTest.dart
diff --git a/tests/isolate/src/IsolateNegativeTest.dart b/tests/isolate/src/IsolateNegativeTest.dart
index 195e94118f6cf517c18ed141d13a35e057b6646f..090ba916e726a812d4d01deaf7197495bb3c4123 100644
--- a/tests/isolate/src/IsolateNegativeTest.dart
+++ b/tests/isolate/src/IsolateNegativeTest.dart
@@ -20,7 +20,7 @@ class IsolateNegativeTest extends Isolate {
void test(TestExpectation expect) {
expect.completes(new IsolateNegativeTest().spawn()).then((SendPort port) {
- port.call("foo").receive(expect.runs2((message, replyTo) {
+ port.call("foo").then(expect.runs1((message) {
Expect.equals(true, "Expected fail"); // <=-------- Should fail here.
expect.succeeded();
}));
« no previous file with comments | « tests/isolate/src/IsolateComplexMessagesTest.dart ('k') | tests/isolate/src/MandelIsolateTest.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698