diff --git a/packages/flutter_tools/test/general.shard/resident_runner_test.dart b/packages/flutter_tools/test/general.shard/resident_runner_test.dart index 3a4bb1ea83..460f362a69 100644 --- a/packages/flutter_tools/test/general.shard/resident_runner_test.dart +++ b/packages/flutter_tools/test/general.shard/resident_runner_test.dart @@ -1265,15 +1265,15 @@ flutter: await residentRunner.run(); final File generatedLocalizationsFile = globals.fs - .directory('.dart_tool') - .childDirectory('flutter_gen') - .childDirectory('gen_l10n') + .directory('lib') + .childDirectory('l10n') .childFile('app_localizations.dart'); - expect(generatedLocalizationsFile.existsSync(), isTrue); + expect(generatedLocalizationsFile, exists); // Completing this future ensures that the daemon can exit correctly. expect(await residentRunner.waitForAppToFinish(), 1); }), + overrides: {FeatureFlags: enableExplicitPackageDependencies}, ); testUsingContext(