Subject: | CGI-Untaint-date: t/date.t fails against perl-5.31.0 on FreeBSD-12 |
As stated in subject line. Excerpt from cpanm build.log.
#####
$ dumpjson TMTM.CGI-Untaint-date-1.00.log.json
{
author => "TMTM",
dist => "CGI-Untaint-date",
distname => "CGI-Untaint-date-1.00",
distversion => "1.00",
grade => "FAIL",
prereqs => undef,
test_output => [
"Building and testing CGI-Untaint-date-1.00",
"cp lib/CGI/Untaint/date.pm blib/lib/CGI/Untaint/date.pm",
"PERL_DL_NONLAZY=1 \"/usr/home/jkeenan/var/tad/testing/perl-5.31.0/bin/perl\" \"-MExtUtils::Command::MM\" \"-MTest::Harness\" \"-e\" \"undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')\" t/*.t",
"Can't locate object method \"format\" via package \"December 12, 2001\" (perhaps you forgot to load \"December 12, 2001\"?) at t/date.t line 25.",
"# Looks like your test exited with 2 just after 1.",
"t/date.t .......... ",
"Dubious, test returned 2 (wstat 512, 0x200)",
"Failed 4/5 subtests ",
"t/pod-coverage.t .. ok",
"t/pod.t ........... ok",
"",
"Test Summary Report",
"-------------------",
"t/date.t (Wstat: 512 Tests: 1 Failed: 0)",
" Non-zero exit status: 2",
" Parse errors: Bad plan. You planned 5 tests but ran 1.",
"Files=3, Tests=3, 0 wallclock secs ( 0.02 usr 0.02 sys + 0.42 cusr 0.22 csys = 0.67 CPU)",
"Result: FAIL",
],
via => "App::cpanminus::reporter 0.17 (1.7044)",
}
#####
$ thisprove -vb t/date.t
t/date.t ..
1..5
ok 1 - Can create the handler
Can't locate object method "format" via package "December 12, 2001" (perhaps you forgot to load "December 12, 2001"?) at t/date.t line 25.
# Looks like your test exited with 2 just after 1.
Dubious, test returned 2 (wstat 512, 0x200)
Failed 4/5 subtests
Test Summary Report
-------------------
t/date.t (Wstat: 512 Tests: 1 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 5 tests but ran 1.
Files=1, Tests=1, 0 wallclock secs ( 0.05 usr 0.02 sys + 0.20 cusr 0.11 csys = 0.38 CPU)
Result: FAIL
#####
Can you investigate?
Thank you very much.
Jim Keenan