X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=t%2F10-good.t;h=3552113d8e590eada9c0d4cb34a805665d8c05b3;hb=f1aad8ec2ce1d9605f720789dbb48fb3afbec3e8;hp=2534e5161f2ad4d16336bc8ae769f7804c1c3268;hpb=b41c498738a3a4ccb8742883a42e6ea5addb1afd;p=perl%2Fmodules%2FTest-Valgrind.git diff --git a/t/10-good.t b/t/10-good.t index 2534e51..3552113 100644 --- a/t/10-good.t +++ b/t/10-good.t @@ -6,16 +6,21 @@ use warnings; use Test::More; use lib 't/lib'; -eval 'use Test::Valgrind'; + +eval { + require Test::Valgrind; + Test::Valgrind->import; +}; if ($@) { diag $@; - plan skip_all => 'Test::Valgrind is required to run test your distribution with valgrind'; + plan skip_all + => 'Test::Valgrind is required to test your distribution with valgrind'; } { package Test::Valgrind::Test::Fake; - use base qw/strict/; + use base qw; } plan tests => 1;