Disable the deferred loading variant of gen_l10n_test (#61912)

This commit is contained in:
Jason Simmons 2020-07-21 02:18:29 -07:00 committed by GitHub
parent 9e658bc3d5
commit b3f0f092ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -151,17 +151,12 @@ void main() {
);
}
// TODO(jsimmons): need a localization test that uses deferred loading
// (see https://github.com/flutter/flutter/issues/61911)
test('generated l10n classes produce expected localized strings', () async {
await project.setUpIn(tempDir);
flutter = FlutterRunTestDriver(tempDir);
final StringBuffer stdout = await runApp();
expectOutput(stdout);
});
test('generated l10n classes produce expected localized strings with deferred loading', () async {
await project.setUpIn(tempDir, useDeferredLoading: true);
flutter = FlutterRunTestDriver(tempDir);
final StringBuffer stdout = await runApp();
expectOutput(stdout);
});
}