]> git.vpit.fr Git - perl/modules/Variable-Magic.git/blobdiff - t/27-local.t
Rename test functions init() and check() to init_watcher() and watch()
[perl/modules/Variable-Magic.git] / t / 27-local.t
index 650e115e70647969e6dfba78b56742bc16cce2bb..d15ba198b1e96b6413bfdab3a68ef64bbcb69f57 100644 (file)
@@ -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';