Cupertino localization step 3: in-place move some material tools around to make room for cupertino (#29644)

This commit is contained in:
xster
2019-03-29 15:57:09 -07:00
committed by GitHub
parent d166a8d81e
commit f2d671c15c
11 changed files with 43 additions and 44 deletions

View File

@@ -94,12 +94,12 @@ Future<void> _verifyInternationalizations() async {
final EvalResult genResult = await _evalCommand(
dart,
<String>[
path.join('dev', 'tools', 'gen_localizations.dart'),
path.join('dev', 'tools', 'localization', 'gen_localizations.dart'),
],
workingDirectory: flutterRoot,
);
final String localizationsFile = path.join('packages', 'flutter_localizations', 'lib', 'src', 'l10n', 'localizations.dart');
final String localizationsFile = path.join('packages', 'flutter_localizations', 'lib', 'src', 'l10n', 'generated_material_localizations.dart');
final String expectedResult = await File(localizationsFile).readAsString();
if (genResult.stdout.trim() != expectedResult.trim()) {