Index: pkg/scheduled_test/lib/scheduled_process.dart |
diff --git a/pkg/scheduled_test/lib/scheduled_process.dart b/pkg/scheduled_test/lib/scheduled_process.dart |
index 665f2917bf170f09b4301194d5b91181c63cccda..4abf49d65c12bd94aa03afc5cc6c3e1713449d32 100644 |
--- a/pkg/scheduled_test/lib/scheduled_process.dart |
+++ b/pkg/scheduled_test/lib/scheduled_process.dart |
@@ -197,7 +197,7 @@ class ScheduledProcess { |
var killedPrematurely = false; |
if (!_exitCode.hasValue) { |
- var killedPrematurely = true; |
+ killedPrematurely = true; |
_endExpected = true; |
_process.value.kill(); |
// Ensure that the onException queue waits for the process to actually |