Index: tests/isolate/kill2_test.dart |
diff --git a/tests/isolate/kill2_test.dart b/tests/isolate/kill2_test.dart |
index 911cd698e998186eb8eda9ff1b165d98ae88e313..4fb317190f302a188ee2325f9a995ed18bf76ac3 100644 |
--- a/tests/isolate/kill2_test.dart |
+++ b/tests/isolate/kill2_test.dart |
@@ -26,7 +26,7 @@ void main() { |
reply.handler = (v) { |
result.add(v); |
if (v == 2) { |
- isolate.kill(Isolate.BEFORE_NEXT_EVENT); |
+ isolate.kill(priority: Isolate.BEFORE_NEXT_EVENT); |
} |
echoPort.send(v - 1); |
}; |