X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Flines.t;h=83f12379d924bddef2f3b18f971a4aa0ba32367d;hb=8aa609aed8c1042b5c9ffa49b4363eabde131d53;hp=b7c86ac3e2b89205d1ed977478a68da21c317742;hpb=9bd5658a784ec13e0f0378450a7982135267ab0c;p=p5sagit%2FDevel-Declare.git diff --git a/t/lines.t b/t/lines.t index b7c86ac..83f1237 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; @@ -38,7 +34,7 @@ Devel::Declare->setup_for( #line 100 -fun +fun { }; my $line = __LINE__; my $line2 = __LINE__;