| Index: lib/metatest.dart
|
| diff --git a/lib/metatest.dart b/lib/metatest.dart
|
| index 656cc2b65af373b0a63d51652f0df53c47d1a6c8..901c84fdfcdc6e828a3d8800a2fb98e67bc3dbe5 100644
|
| --- a/lib/metatest.dart
|
| +++ b/lib/metatest.dart
|
| @@ -15,8 +15,9 @@ import 'dart:async';
|
| import 'package:test/src/backend/declarer.dart';
|
| import 'package:test/src/backend/live_test.dart';
|
| import 'package:test/src/backend/state.dart';
|
| -import 'package:test/src/backend/suite.dart';
|
| import 'package:test/src/runner/engine.dart';
|
| +import 'package:test/src/runner/runner_suite.dart';
|
| +import 'package:test/src/runner/vm/environment.dart';
|
| import 'package:test/test.dart';
|
|
|
| /// Declares a test with the given [description] and [body].
|
| @@ -70,7 +71,9 @@ void _setUpTest(String description, void body(),
|
| var declarer = new Declarer();
|
| runZoned(body, zoneValues: {#test.declarer: declarer});
|
|
|
| - var engine = new Engine.withSuites([new Suite(declarer.tests)]);
|
| + var engine = new Engine.withSuites([
|
| + new RunnerSuite(new VMEnvironment(), declarer.tests)
|
| + ]);
|
| for (var test in engine.liveTests) {
|
| test.onPrint.listen(print);
|
| }
|
|
|