]> git.vpit.fr Git - perl/modules/Variable-Magic.git/blob - t/01-import.t
6b858496ee3102ea3eaf93077eb8ccc3ece46546
[perl/modules/Variable-Magic.git] / t / 01-import.t
1 #!perl -T
2
3 use strict;
4 use warnings;
5
6 use Test::More tests => 15;
7
8 require Variable::Magic;
9
10 for (qw/wizard gensig getsig cast getdata dispell SIG_MIN SIG_MAX SIG_NBR MGf_COPY MGf_DUP MGf_LOCAL VMG_UVAR VMG_COMPAT_ARRAY_PUSH_NOLEN VMG_COMPAT_ARRAY_UNDEF_CLEAR/) {
11  eval { Variable::Magic->import($_) };
12  ok(!$@, 'import ' . $_);
13 }