X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=xt%2F92whitespace.t;h=5f766697df93361c7043796ebe61dc35deaf7289;hb=fda0b270e45b2f419edf94e4f7e91d82d31c6f84;hp=ebc01481bf7c5342cd2cb0f699d0132b0c3a689d;hpb=428975b0e646c0769d7eb530d4f52443471a9a9a;p=scpubgit%2FQ-Branch.git diff --git a/xt/92whitespace.t b/xt/92whitespace.t index ebc0148..5f76669 100644 --- a/xt/92whitespace.t +++ b/xt/92whitespace.t @@ -3,12 +3,9 @@ use strict; use Test::More; use File::Glob 'bsd_glob'; -use lib 't/lib'; -eval "use Test::EOL 1.0 ()"; -plan skip_all => 'Test::EOL 1.0 required' if $@; -eval "use Test::NoTabs 0.9 ()"; -plan skip_all => 'Test::NoTabs 0.9 required' if $@; +use Test::EOL 1.0 (); +use Test::NoTabs 0.9 (); # FIXME - temporary workaround for RT#82032, RT#82033 # also add all scripts (no extension) and some extra extensions @@ -23,7 +20,7 @@ plan skip_all => 'Test::NoTabs 0.9 required' if $@; *Test::NoTabs::_is_perl_module = $is_pm; } -my @pl_targets = qw/t lib script examples/; +my @pl_targets = qw/t lib examples/; Test::EOL::all_perl_files_ok({ trailing_whitespace => 1 }, @pl_targets); Test::NoTabs::all_perl_files_ok(@pl_targets);