Subject: | Tests break with old Test::Exception |
With Test::Exception 0.21 tests break like this:
/usr/bin/perl "-Iinc" "-MModule::Install::ExtraTests" "-e"
"Module::Install::ExtraTests::__harness('Test::Harness', 0, 'xt/author',
'xt/release', '', 0, 'blib/lib', 'blib/arch')" t/*.t
t/basic..............
# Failed test 'Non-existant ACTUAL throws correct error'
# in t/basic.t at line 37.
# expecting: Regexp ((?-xism:non_exist_actual\b.*\bC3NT::Quux))
# found: No next::method '_try_as_caller' found for
C3NT::Quux=HASH(0x815d90) at
/usr/local/share/perl/5.8.8/Class/C3/next.pm line 55.
# Failed test 'Non-existant ACTUAL in superclass throws correct error'
# in t/basic.t at line 41.
# expecting: Regexp ((?-xism:actual_fail_halfway\b.*\bC3NT::Quux))
# found: No next::method '_try_as_caller' found for
C3NT::Quux=HASH(0x815d90) at
/usr/local/share/perl/5.8.8/Class/C3/next.pm line 55.
# Looks like you failed 2 tests of 12.
dubious
Test returned status 2 (wstat 512, 0x200)
DIED. FAILED tests 9-10
Failed 2/12 tests, 83.33% okay
Please require a newer version of Test::Exception for your tests. 0.27
works fine.
Thanks.