diff --git a/packages/flutter_tools/test/project_test.dart b/packages/flutter_tools/test/project_test.dart index 7a4775d0a5..bdde5d22b6 100644 --- a/packages/flutter_tools/test/project_test.dart +++ b/packages/flutter_tools/test/project_test.dart @@ -91,7 +91,7 @@ void main() { final FlutterProject project = await someProject(); await expectLater( project.android.materialize(), - throwsA(const isInstanceOf()), + throwsA(isInstanceOf()), ); }); testInMemory('exits on already materialized module', () async {