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