Index: lib/src/runner/load_suite.dart |
diff --git a/lib/src/runner/load_suite.dart b/lib/src/runner/load_suite.dart |
index c08af1ffd015ec28571ad77cd427b183be7971c2..0c1dabc5fa91afd3dae58b71e3d901b12b2272bb 100644 |
--- a/lib/src/runner/load_suite.dart |
+++ b/lib/src/runner/load_suite.dart |
@@ -15,6 +15,7 @@ import '../backend/test_platform.dart'; |
import '../utils.dart'; |
import 'load_exception.dart'; |
import 'runner_suite.dart'; |
+import 'vm/environment.dart'; |
/// A [Suite] emitted by a [Loader] that provides a test-like interface for |
/// loading a test file. |
@@ -99,7 +100,7 @@ class LoadSuite extends RunnerSuite { |
} |
LoadSuite._(String name, void body(), this.suite, {TestPlatform platform}) |
- : super([ |
+ : super(const VMEnvironment(), [ |
new LocalTest(name, |
new Metadata(timeout: new Timeout(new Duration(minutes: 5))), |
body) |
@@ -107,7 +108,7 @@ class LoadSuite extends RunnerSuite { |
/// A constructor used by [changeSuite]. |
LoadSuite._changeSuite(LoadSuite old, Future<RunnerSuite> this.suite) |
- : super(old.tests, platform: old.platform); |
+ : super(const VMEnvironment(), old.tests, platform: old.platform); |
/// Creates a new [LoadSuite] that's identical to this one, but that |
/// transforms [suite] once it's loaded. |