pinterest / ktlint

An anti-bikeshedding Kotlin linter with built-in formatter
https://pinterest.github.io/ktlint/
MIT License
6.06k stars 504 forks source link

Set and reset Locale to pass test for non-english contributor. #2622

Closed Jaehwa-Noh closed 2 months ago

Jaehwa-Noh commented 3 months ago

Description

When I build code on local machine, some tests failed because of current language setting. See this issue. Fixes #2621

Then I temporary set the default language from Default to English.

Checklist

Before submitting the PR, please check following (checks which are not relevant may be ignored):

Documentation is updated. See difference between snapshot and release documentation

Jaehwa-Noh commented 3 months ago

Thank you for reviewing. I'd changed what you addressed.

paul-dingemans commented 2 months ago

Tnx for your contribution