Closed igorekRnd closed 5 years ago
Confirmed. Lingua::CU::Collate needs to be rewritten to automatically build DUCET tailoring at install based on the installed version of Unicode::Collate.
I think that this issue is now fixed.
I get similar error:
# Failed test 'Church Slavonic collation works'
# at t/Lingua-CU.t line 62.
# Structures begin differing at:
# $got->[0] = 'є҃
# '
# $expected->[0] = 'а҆
# '
# Church Slavonic collation works
# Looks like you failed 1 test of 12.
I cannot reproduce the error.
Which version of Unicode::Collate are you using? E.g.,
perl -e "use Unicode::Collate; print Unicode::Collate->UCA_Version()"
Version 36. Maybe I installed it incorrectly, I'll try once again.
I made once again
perl Makefile.PL
make
make test
make install
No errors now, All tests successful.
Do not pass the tests before installing the module. I run make test command and displays the following error:
I have installed the latest version of the module Unicode :: Collate.
As a workaround, I commented out the line 62 in the test file and reduced the number of test cases to 11: file t/Lingua-CU.t: