X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=t%2F23-magic-uvar.t;h=ce80f2ec95ccb0cf2e3ac8827079bb71a41dd05a;hb=c5d3b9e2115202f79337d1fcfe44ae673c2d9251;hp=28422b0799a269bee91fab697e783f0af8ecb133;hpb=1a89808e0eb3e27e0d2b61d0bfa84fa8ab94b9cb;p=perl%2Fmodules%2FLexical-Types.git diff --git a/t/23-magic-uvar.t b/t/23-magic-uvar.t index 28422b0..ce80f2e 100644 --- a/t/23-magic-uvar.t +++ b/t/23-magic-uvar.t @@ -6,14 +6,14 @@ use warnings; use Test::More; BEGIN { - plan skip_all => 'Variable::Magic 0.08 on 5.10 required to test uvar magic' - unless eval "use Variable::Magic 0.08; Variable::Magic::VMG_UVAR"; + plan skip_all => 'Variable::Magic 0.35 on 5.10 required to test uvar magic' + unless eval "use Variable::Magic 0.35; Variable::Magic::VMG_UVAR"; } { package Lexical::Types::Test::Ref; - use Variable::Magic qw/wizard cast/; + use Variable::Magic qw; our $wiz; BEGIN { @@ -45,7 +45,8 @@ sub check (&$$;$) { my $want = wantarray; my @ret; { - local @{$got}{qw/fetch store/}; delete @{$got}{qw/fetch store/}; + local @{$got}{qw}; + delete @{$got}{qw}; if ($want) { @ret = eval { $test->() }; } elsif (defined $want) {