Subject: | utf8 diffs with older perls |
On some of my smokers the test suite fails like this:
...
# Failed test 'date_ext 200 days and 5 sec'
# at t/1_months.t line 40.
Wide character in print at /usr/perl5.16.3t/lib/site_perl/5.16.3/Test2/Formatter/TAP.pm line 125.
# Structures begin differing at:
# $got->{long} = '11 мар 14'
# $expected->{long} = '11 Ð¼Ð°Ñ 14'
# Failed test 'date_ext 200 days and 5 sec'
# at t/1_months.t line 80.
Wide character in print at /usr/perl5.16.3t/lib/site_perl/5.16.3/Test2/Formatter/TAP.pm line 125.
# Structures begin differing at:
# $got->{long} = '11 бер 14'
# $expected->{long} = '11 Ð±ÐµÑ 14'
# Failed test 'date_ext 200 days and 5 sec'
# at t/1_months.t line 120.
Wide character in print at /usr/perl5.16.3t/lib/site_perl/5.16.3/Test2/Formatter/TAP.pm line 125.
# Structures begin differing at:
# $got->{long} = '11 нау 14'
# $expected->{long} = '11 Ð½Ð°Ñ 14'
# Looks like you failed 3 tests of 136.
t/1_months.t ..
Dubious, test returned 3 (wstat 768, 0x300)
Failed 3/136 subtests
...
This happens only for perl <= 5.20 (and probably only if a ru/ua/kk locale is available).