Index: pkg/scheduled_test/test/metatest.dart |
diff --git a/pkg/scheduled_test/test/metatest.dart b/pkg/scheduled_test/test/metatest.dart |
index 71ad421fd9165c9adb29c5d598e2b37f84633103..9bbd2e401a4b619a33eca40e0a8f60511c729c03 100644 |
--- a/pkg/scheduled_test/test/metatest.dart |
+++ b/pkg/scheduled_test/test/metatest.dart |
@@ -133,9 +133,9 @@ Future<bool> get _inChildIsolate { |
/// describing the results of that test run. |
Future<Map> _runInIsolate(String description) { |
// TODO(nweiz): Don't use path here once issue 8440 is fixed. |
- var future = spawnUri(path.join(path.current, new Options().script)).call({ |
+ var future = spawnUri(path.join(path.current, Platform.script)).call({ |
'testToRun': description, |
- 'executable': new Options().executable |
+ 'executable': Platform.executable |
}); |
// TODO(nweiz): Remove this timeout once issue 8417 is fixed and we can |
// capture top-level exceptions. |