Subject: | Tests fail with URI-Find-20140709 |
The URI-Find-20140709 stopped translating URIs to canonical form (http://cpansearch.perl.org/src/MSCHWERN/URI-Find-20140709/Changes). This breaks URI-Find-Simple tests:
make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
# Failed test 'got news.com uri'
# at t/find.t line 27.
# got: 'http://www.news.com'
# expected: 'http://www.news.com/'
# Failed test 'got various.com uri'
# at t/find.t line 28.
# got: 'http://various.com'
# expected: 'http://various.com/'
# Failed test 'expcted matches new text'
# at t/find.t line 43.
# got: 'this is a long string with [[ http://www.news.com ]] urls in it in
# [[ http://various.com ]] different forms. [[ mailto:tom@jerakeen.org ]].
# Some urls are [[ ftp://not.http.urls/and/have/paths ]].
# '
# expected: 'this is a long string with [[ http://www.news.com/ ]] urls in it in
# [[ http://various.com/ ]] different forms. [[ mailto:tom@jerakeen.org ]].
# Some urls are [[ ftp://not.http.urls/and/have/paths ]].
# '
# Failed test 'got news.com uri'
# at t/find.t line 49.
# got: 'http://weird.com/url/%c3%a9withunicode'
# expected: 'http://weird.com/url/%C3%A9withunicode'
# Looks like you failed 4 tests of 16.
t/find.t ..
Dubious, test returned 4 (wstat 1024, 0x400)
Failed 4/16 subtests