'Class::Trigger' => 0,
'Time::Piece::MySQL' => 0,
'Clone' => 0,
- 'Date::Simple' => 0,
+ 'Date::Simple' => 3.03,
# t/52cycle.t
'Test::Memory::Cycle' => 0,
BEGIN {
eval "use DBIx::Class::CDBICompat;";
- if ($@) {
- plan (skip_all => 'Class::Trigger and DBIx::ContextualFetch required');
- next;
- }
- eval "use DBD::SQLite";
- plan $@ ? (skip_all => 'needs DBD::SQLite for testing') : (tests => 36);
+ plan $@
+ ? (skip_all => 'Class::Trigger and DBIx::ContextualFetch required')
+ : (tests => 36)
+ ;
}
INIT {
# Now again for inflated values
SKIP: {
- skip "Requires Date::Simple", 5 unless eval "use Date::Simple; 1; ";
+ skip "Requires Date::Simple 3.03", 5 unless eval "use Date::Simple 3.03; 1; ";
Lazy->has_a(
orp => 'Date::Simple',
inflate => sub { Date::Simple->new($_[0] . '-01-01') },