properly set v2 metadata!
[p5sagit/Devel-Declare.git] / t / lines.t
index 8927ad2..ed1f605 100644 (file)
--- 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;