Forward fix package:flutter_gen removal in resident_runner_test.dart (#163170)

Unblocks https://github.com/flutter/flutter/pull/160289.
This commit is contained in:
Matan Lurey 2025-02-12 15:53:55 -08:00 committed by GitHub
parent f1f35950b3
commit 055f6c1a49
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1265,15 +1265,15 @@ flutter:
await residentRunner.run(); await residentRunner.run();
final File generatedLocalizationsFile = globals.fs final File generatedLocalizationsFile = globals.fs
.directory('.dart_tool') .directory('lib')
.childDirectory('flutter_gen') .childDirectory('l10n')
.childDirectory('gen_l10n')
.childFile('app_localizations.dart'); .childFile('app_localizations.dart');
expect(generatedLocalizationsFile.existsSync(), isTrue); expect(generatedLocalizationsFile, exists);
// Completing this future ensures that the daemon can exit correctly. // Completing this future ensures that the daemon can exit correctly.
expect(await residentRunner.waitForAppToFinish(), 1); expect(await residentRunner.waitForAppToFinish(), 1);
}), }),
overrides: <Type, Generator>{FeatureFlags: enableExplicitPackageDependencies},
); );
testUsingContext( testUsingContext(