X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2Fautovivification.git;a=blobdiff_plain;f=t%2F42-deparse.t;h=436b03d2bc4d9472ea1f1b5a8ca61361c6bab4b4;hp=6b3d1e047f85a6efca46b8b1ecfaf86215b128ff;hb=fdb8e22d8aab6fac43cfb8a69405c289e28e064f;hpb=0a23ad2823eb42f637e143f802e0d27be8a26ee4 diff --git a/t/42-deparse.t b/t/42-deparse.t index 6b3d1e0..436b03d 100644 --- a/t/42-deparse.t +++ b/t/42-deparse.t @@ -5,11 +5,13 @@ 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('B::Deparse', undef, [ ], + 'required to test round-trip deparsing compatibility'); + +plan tests => 2; my $bd = B::Deparse->new;