Index: tests/isolate/kill_self_test.dart |
diff --git a/tests/isolate/kill_self_test.dart b/tests/isolate/kill_self_test.dart |
index 932dca6fb38d9a1e62cddf82bfcf9dc6ff25812a..cf2a81d4bae8afc918ec7d55029ef743b2462dd2 100644 |
--- a/tests/isolate/kill_self_test.dart |
+++ b/tests/isolate/kill_self_test.dart |
@@ -19,7 +19,7 @@ isomain1(replyPort) { |
firstEvent = false; |
var isolate = new Isolate(controlPort, |
terminateCapability: killCapability); |
- isolate.kill(Isolate.IMMEDIATE); |
+ isolate.kill(priority: Isolate.IMMEDIATE); |
}; |
replyPort.send(port.sendPort); |
} |