Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong locale name in unit test file #392

Open
matsduf opened this issue Nov 11, 2024 · 0 comments
Open

Wrong locale name in unit test file #392

matsduf opened this issue Nov 11, 2024 · 0 comments
Assignees
Labels
T-Bug Type: Bug in software or error in test case description
Milestone

Comments

@matsduf
Copy link
Contributor

matsduf commented Nov 11, 2024

In t/usage.t in develop branch a locale name has the wrong format. It reads as sv_SE.utf8, but it should be sv_SE.UTF-8, the general name of the locale.

        skip 'sv_SE.utf8 locale is unavailable', 5
          if !has_locale( 'sv_SE.utf8' );

        check_success '--json-stream --no-raw',
          [ '--test=basic01', '--json-stream', '--no-raw', '--locale=sv_SE.utf8', '--level=INFO', '.' ], sub {

https://github.com/zonemaster/zonemaster-cli/blob/develop/t/usage.t#L299-L303

There are more instances in the file.

@matsduf matsduf added the T-Bug Type: Bug in software or error in test case description label Nov 11, 2024
@matsduf matsduf added this to the v2024.2 milestone Nov 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T-Bug Type: Bug in software or error in test case description
Projects
None yet
Development

No branches or pull requests

2 participants