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 cf37211e21c2a9bf2004b2ad314082ef64985064..45e50616dbce1f8b41a03809a47fc610a15c6460 100644 |
--- a/pkg/scheduled_test/lib/scheduled_process.dart |
+++ b/pkg/scheduled_test/lib/scheduled_process.dart |
@@ -134,9 +134,9 @@ class ScheduledProcess { |
_handleExit(exitCodeCompleter); |
return Future.wait([ |
- new Future.of(() => executable), |
+ new Future.sync(() => executable), |
awaitObject(arguments), |
- new Future.of(() => options) |
+ new Future.sync(() => options) |
]).then((results) { |
executable = results[0]; |
arguments = results[1]; |