[gen_l10n] Fix suppportedLocales list (#52448)
* Fix suppportedLocales list * Refactor integration tests for gen_l10n tool to catch exceptions
This commit is contained in:
@@ -532,7 +532,7 @@ class LocalizationsGenerator {
|
||||
|
||||
final Iterable<String> supportedLocalesCode = supportedLocales.map((LocaleInfo locale) {
|
||||
final String country = locale.countryCode;
|
||||
final String countryArg = country == null ? '' : ', $country';
|
||||
final String countryArg = country == null ? '' : "', '$country";
|
||||
return 'Locale(\'${locale.languageCode}$countryArg\')';
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user