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:
parent
f1f35950b3
commit
055f6c1a49
@ -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: <Type, Generator>{FeatureFlags: enableExplicitPackageDependencies},
|
||||
);
|
||||
|
||||
testUsingContext(
|
||||
|
Loading…
x
Reference in New Issue
Block a user