use Test::More;
-use Variable::Magic qw/cast MGf_LOCAL/;
+use Variable::Magic qw<cast MGf_LOCAL>;
if (MGf_LOCAL) {
plan tests => 2 * 3 + 1 + 1;
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';