From Code to Community: Sponsoring The Perl and Raku Conference 2025 Learn more
— |
$Tangerine::hook::tests::VERSION = '0.21' ;
use 5.010;
sub run {
my ( $self , $s ) = @_ ;
if ((any { $s ->[0] eq $_ } qw(use no) ) && scalar ( @$s ) > 1 &&
(any { $s ->[1] eq $_ }
qw(Test::Inter Test::Modern Test::More Test::Strict) )) {
return Tangerine::HookData->new( hooks => [
Tangerine::hook::testloading->new( type => 'runtime' ) ] );
}
if ((any { $s ->[0] eq $_ } qw(use no) ) && scalar ( @$s ) > 1 &&
$s ->[1] eq 'Test::Requires' ) {
return Tangerine::HookData->new( hooks => [
Tangerine::hook::testrequires->new( type => 'runtime' ) ] );
}
return ;
}
1;
|