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();
|
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(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user