From a6af2ca64354f8bc217cc8aff6f232dd08b92d53 Mon Sep 17 00:00:00 2001 From: Chris Bracken Date: Fri, 31 Aug 2018 14:31:38 -0700 Subject: [PATCH] Run resident_runner_test in Dart 2 mode (#21288) --- packages/flutter_tools/test/resident_runner_test.dart | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/packages/flutter_tools/test/resident_runner_test.dart b/packages/flutter_tools/test/resident_runner_test.dart index 5a845f582c..0b5aa29558 100644 --- a/packages/flutter_tools/test/resident_runner_test.dart +++ b/packages/flutter_tools/test/resident_runner_test.dart @@ -44,14 +44,12 @@ class TestRunner extends ResidentRunner { void main() { TestRunner createTestRunner() { - // TODO(jacobr): make these tests run with `previewDart2: true` and - // `trackWidgetCreation: true` as well as the default flags. - // Currently the TestRunner is not properly configured to be able to run - // with `previewDart2: true` due to missing resources. + // TODO(jacobr): make these tests run with `trackWidgetCreation: true` as + // well as the default flags. return new TestRunner( [new FlutterDevice( new MockDevice(), - previewDart2: false, + previewDart2: true, trackWidgetCreation: false, )], );