]> git.vpit.fr Git - perl/modules/Variable-Temp.git/blobdiff - t/13-magic.t
Only plan after all the optional modules have been loaded
[perl/modules/Variable-Temp.git] / t / 13-magic.t
index 69d049ee5067c862bdd6217ba6c65c348292b7b5..06f96984e322bc213051a00b4905d89c90620688 100644 (file)
@@ -5,13 +5,15 @@ use warnings;
 
 use Variable::Temp 'set_temp';
 
-use Test::More tests => 14;
+use Test::More;
 
 use lib 't/lib';
 use VPIT::TestHelpers;
 
 load_or_skip_all('Variable::Magic', '0.55', undef);
 
+plan tests => 14;
+
 my $replaced = 0;
 my $freed    = 0;