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

Template-Toolkit-3.101: t/filter.t seems to contain locale-dependent tests. #303

Open
twata1 opened this issue Jan 22, 2023 · 1 comment

Comments

@twata1
Copy link

twata1 commented Jan 22, 2023

Hello,

When I tried to prove -blv t\t_filter.t on Windows 8.1 64 bit under Strawberry Perl 5.24.1 64 bit, the test failed.
It seems to me that t\t_filter.t contains locale-dependent tests.

Here are the results of the test.
filter_t-results.txt

Relevant part of the results:

ok 84 - template text 41 processed OK: [% 'arse' | stderr %]\nstderr: [%...
MATCH FAILED
 input: [[% 'arse' | stderr %]\nstderr: [% stderr %]\n]
expect: [stderr: arse]
output: [stderr: Locale 'Japanese_Japan.932' may not work well.  Some characters in it are not recognized by Perl.\narse]
not ok 85 - template text 41 did not match expected
ok 86 - template text 42 processed OK: [% percent = '%'\n   left    = "[...

Thank you,

@twata1
Copy link
Author

twata1 commented Jan 29, 2023

I have found a workaround by looking at How to fix a locale warning from perl in windows 7 and doing set LC_ALL=C.

Thank you,

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