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

Tests failed on non-English Windows. #367

Open
asakaxgit opened this issue Sep 1, 2024 · 0 comments
Open

Tests failed on non-English Windows. #367

asakaxgit opened this issue Sep 1, 2024 · 0 comments

Comments

@asakaxgit
Copy link
Contributor

Most of tests failed due to mis-detection of locale.
Many tests of FilterTest are strongly relied on Language of occuring messages.
Expected messages in expected.txt are written in English.
So we need to fix tests to fixed locale as English, or respect running machine's language.

%FAILED 3,testDefaultStrategy(com.puppycrawl.tools.checkstyle.filters.SuppressionJavaPatchFilterTest)
%EXPECTS
C:\Users\ASakashita\source\repos\patch-filters\src\test\resources\com\puppycrawl\tools\checkstyle\filters\suppressionjavapatchfilter\DefaultStrategy\Test.java:16:5: Init blocks, constructors, fields and methods should be before inner types.
%EXPECTE
%ACTUALS
C:\Users\ASakashita\source\repos\patch-filters\src\test\resources\com\puppycrawl\tools\checkstyle\filters\suppressionjavapatchfilter\DefaultStrategy\Test.java:16:5: 初期化ブロック、コンストラクター、フィールド、メソッドは内部型の前にある必要があります。
%ACTUALE
%TRACES 

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant