Subject: | Undeclared dependency DateTime::Format::Strptime |
Test suite fails if DateTime::Format::Strptime is not installed:
...
# Failed test 'use Text::FixedWidth::Parser;'
# at t/Test/Text/FixedWidth/Parser.pm line 19.
# (in Test::Text::FixedWidth::Parser->startup)
# Tried to use 'Text::FixedWidth::Parser'.
# Error: Can't locate DateTime/Format/Strptime.pm in @INC (you may need to install the DateTime::Format::Strptime module) (@INC contains: lib/ t ... .) at lib/Text/FixedWidth/Parser.pm line 9.
# BEGIN failed--compilation aborted at lib/Text/FixedWidth/Parser.pm line 9.
# Compilation failed in require at t/Test/Text/FixedWidth/Parser.pm line 19.
# BEGIN failed--compilation aborted at t/Test/Text/FixedWidth/Parser.pm line 19.
# Failed test 'startup died (Can't locate object method "set_timestamp_to_epoch_fields" via package "Text::FixedWidth::Parser" at t/Test/Text/FixedWidth/Parser.pm line 45.)'
# at t/run.t line 8.
# (in Test::Text::FixedWidth::Parser->startup)
# Looks like you planned 7 tests but ran 2.
# Looks like you failed 2 tests of 2 run.
t/run.t ..
Dubious, test returned 2 (wstat 512, 0x200)
Failed 7/7 subtests
...