X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F54taint.t;h=c3df11fd2115be4ee2ad072b5b5f3c921743f32a;hb=9aa2ba09e8493a60dfb6f9ef77bb56421650f7e9;hp=f54ed93331524d84969b0b116f53d12965421814;hpb=91b0ad0b21a3c167f5ae0ac240322de8b6601058;p=dbsrgits%2FDBIx-Class.git diff --git a/t/54taint.t b/t/54taint.t index f54ed93..c3df11f 100644 --- a/t/54taint.t +++ b/t/54taint.t @@ -6,17 +6,7 @@ use strict; use warnings; use Test::More; - -BEGIN { - eval "require Module::Find;"; - if ($@) { - plan skip_all => 'Could not load Module::Find'; - exit; - } - else { - plan tests => 7; - } -} +BEGIN { plan tests => 7 } package DBICTest::Taint::Classes; @@ -52,5 +42,4 @@ lives_ok (sub { ok( __PACKAGE__->source('Test'), 'The Namespaces::Test source has been registered' ); }, 'Loading classes with Module::Find/load_namespaces worked in taint mode' ); - 1;