Refactor generate_localizations_test.dart (#128974)

The file was becoming harder to deal with as it manually sets up a /lib/l10n directory with a `MemoryFileSystem` in every single test. This PR wraps this process in a helper function `setupLocalizations` and also provides a helper function `getGeneratedFileContent` which helps fetch the respective output file given the locale string.
This commit is contained in:
Tae Hyung Kim 2023-06-20 08:42:22 -07:00 committed by GitHub
parent e5ec07ba16
commit 48ba9c4193
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23