]> git.vpit.fr Git - perl/modules/autovivification.git/blobdiff - t/42-deparse.t
Update VPIT::TestHelpers to e8344578
[perl/modules/autovivification.git] / t / 42-deparse.t
index 85ad4fc69fe37155bedde38cb78ed02243d80354..be7e3024e7b5d0fdadd7e0207d5c069f65679c9a 100644 (file)
@@ -5,16 +5,17 @@ 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;
 
 {
- no autovivification qw/fetch strict/;
+ no autovivification qw<fetch strict>;
 
  sub blech { my $key = $_[0]->{key} }
 }