X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=t%2F27-local.t;h=d15ba198b1e96b6413bfdab3a68ef64bbcb69f57;hb=cb678e6b73356092edce6d42b76f3d667f95d7c4;hp=650e115e70647969e6dfba78b56742bc16cce2bb;hpb=17a9ff0efce08a362dce5b81091f5be3f345251a;p=perl%2Fmodules%2FVariable-Magic.git diff --git a/t/27-local.t b/t/27-local.t index 650e115..d15ba19 100644 --- a/t/27-local.t +++ b/t/27-local.t @@ -16,11 +16,11 @@ if (MGf_LOCAL) { use lib 't/lib'; use Variable::Magic::TestWatcher; -my $wiz = init 'local', 'local'; +my $wiz = init_watcher 'local', 'local'; our $a = int rand 1000; -my $res = check { cast $a, $wiz } { }, 'cast'; +my $res = watch { cast $a, $wiz } { }, 'cast'; ok $res, 'local: cast succeeded'; -check { local $a } { local => 1 }, 'localized'; +watch { local $a } { local => 1 }, 'localized';