Skip to content

Write a test for gen_date_localizations.dart #124550

@thkim1011

Description

@thkim1011

The dev/tools/localizations/bin/gen_date_localizations.dart script needs to be run whenever there are updates to the ICU data that's being used by intl or whenever we add new locale to Flutter. However, since this hasn't been done in awhile, the code has gone stale and I had to make a separate PR #124547 to fix the outdated parts.

We should write a test that checks that gen_date_localizations.dart isn't broken by other parts of the code base, and also find a good way to run it on CI to check if it needs to be run again.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work lista: internationalizationSupporting other languages or locales. (aka i18n)a: tests"flutter test", flutter_test, or one of our testsc: proposalA detailed proposal for a change to Flutterc: tech-debtTechnical debt, code quality, testing, etc.frameworkflutter/packages/flutter repository. See also f: labels.team-frameworkOwned by Framework teamtriaged-frameworkTriaged by Framework team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions