X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=t%2F30-scalar.t;h=71fa3cbcd8c0a222082d9985fecff1d928a015fc;hb=3bc98bdbdb230943e7fb3135e325f10013acac2d;hp=ab20ed6450dc5f3e2406232011fe47a1d6837d12;hpb=159e8ad7c747edb4a25db2f2673bbe143531f347;p=perl%2Fmodules%2FVariable-Magic.git diff --git a/t/30-scalar.t b/t/30-scalar.t index ab20ed6..71fa3cb 100644 --- a/t/30-scalar.t +++ b/t/30-scalar.t @@ -3,11 +3,11 @@ use strict; use warnings; -use Config qw/%Config/; +use Config qw<%Config>; use Test::More tests => (2 * 14 + 2) + 2 * (2 * 8 + 4) + 3 + 1; -use Variable::Magic qw/wizard cast dispell MGf_COPY/; +use Variable::Magic qw; use lib 't/lib'; use Variable::Magic::TestWatcher; @@ -15,7 +15,7 @@ use Variable::Magic::TestWatcher; my $is_5130_release = ($] == 5.013 && !$Config{git_describe}) ? 1 : 0; my $wiz = init_watcher - [ qw/get set len clear free copy dup local fetch store exists delete/ ], + [ qw ], 'scalar'; my $n = int rand 1000; @@ -122,5 +122,5 @@ SKIP: { }; is $@, '', 'cast copy magic on tied array'; - watch { delete $a[0] } [ qw/get clear free/ ], 'delete from tied array'; + watch { delete $a[0] } [ qw ], 'delete from tied array'; }