Subject: | Test suite fails (with newer URI::Find?) |
The test suite fails like this:
...
PERL_DL_NONLAZY=1 "/opt/perl-5.18.1d/bin/perl5.18.1" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
# Failed test at t/01simple.t line 16.
# got: '<a href='http://thegestalt.org' >http://thegestalt.org</a>'
# expected: '<a href='http://thegestalt.org/' >http://thegestalt.org</a>'
# Failed test at t/01simple.t line 16.
# got: 'hello there <a href='http://foobar.com' >http://foobar.com</a> <a href='http://bar.com' >foo</a>'
# expected: 'hello there <a href='http://foobar.com/' >http://foobar.com</a> <a href='http://bar.com' >foo</a>'
# Failed test at t/01simple.t line 16.
# got: 'hello there <a href='http://foobar.com' >http://foobar.com</a> <img src='http://bar.com' alt='foo' title='foo' border='0' />'
# expected: 'hello there <a href='http://foobar.com/' >http://foobar.com</a> <img src='http://bar.com' alt='foo' title='foo' border='0' />'
# Failed test at t/01simple.t line 16.
# got: 'hello there <a href='http://foobar.com' >http://foobar.com</a> <a href='http://bar.com' >foo</a> quux <a href='http://quux.org' ><img src='http://bar.com' alt='foo' title='foo' border='0' /></a> fleeg'
# expected: 'hello there <a href='http://foobar.com/' >http://foobar.com</a> <a href='http://bar.com' >foo</a> quux <a href='http://quux.org' ><img src='http://bar.com' alt='foo' title='foo' border='0' /></a> fleeg'
# Looks like you failed 4 tests of 21.
t/01simple.t ...
Dubious, test returned 4 (wstat 1024, 0x400)
Failed 4/21 subtests
... (etc) ...
Statistical analysis (see http://analysis.cpantesters.org/solved?distv=Text-Chump-1.02#mod%3AURI%3A%3AFind ) suggests that the failures started with URI::Find 20140709. So probably just fixing the expected strings (adding some slashes) and increasing the prereq version for URI::Find could fix the fails.