From 055f6c1a49635f753e8a6f67a3ea0cf4e5a5f5c7 Mon Sep 17 00:00:00 2001 From: Matan Lurey Date: Wed, 12 Feb 2025 15:53:55 -0800 Subject: [PATCH] Forward fix `package:flutter_gen` removal in `resident_runner_test.dart` (#163170) Unblocks https://github.com/flutter/flutter/pull/160289. --- .../test/general.shard/resident_runner_test.dart | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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(