X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=t%2F42-deparse.t;h=be7e3024e7b5d0fdadd7e0207d5c069f65679c9a;hb=dbff488a5a427fafbbe3b561436c0f81247cc525;hp=6b3d1e047f85a6efca46b8b1ecfaf86215b128ff;hpb=3201984d539ab173c11a001792be4294af17a08c;p=perl%2Fmodules%2Fautovivification.git diff --git a/t/42-deparse.t b/t/42-deparse.t index 6b3d1e0..be7e302 100644 --- a/t/42-deparse.t +++ b/t/42-deparse.t @@ -5,11 +5,12 @@ use warnings; use Test::More; -if (eval 'use B::Deparse; 1') { - plan tests => 2; -} else { - plan skip_all => 'B::Deparse is not available'; -} +use lib 't/lib'; +use VPIT::TestHelpers; + +load_or_skip_all('B::Deparse', undef, [ ]); + +plan tests => 2; my $bd = B::Deparse->new;