X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Flines.t;h=ed1f605c8d5192486319eec4790731043fa1dd35;hb=7c4f125853686285fbcc4c04de8c78d7f0a4ab6f;hp=8927ad2c6c2d41115ba529cb53eaf78a58852a30;hpb=2688337bafe83db36857a49ecfd39984ef08ee73;p=p5sagit%2FDevel-Declare.git diff --git a/t/lines.t b/t/lines.t index 8927ad2..ed1f605 100644 --- a/t/lines.t +++ b/t/lines.t @@ -2,12 +2,8 @@ use strict; use warnings; use Test::More; -BEGIN { - eval 'use B::Compiling'; - - $@ and plan 'skip_all' => $@ - or plan tests => 5; -} +use Test::Requires 'B:Compiling'; +plan tests => 5; my @lines;