From: Vincent Pit <vince@profvince.com>
Date: Sun, 5 Apr 2015 17:59:44 +0000 (-0300)
Subject: Only plan after all the optional modules have been loaded
X-Git-Tag: v0.03~2
X-Git-Url: http://git.vpit.fr/?a=commitdiff_plain;h=f172488ab16bbd50f0b46168f88ca5dd695b37f4;p=perl%2Fmodules%2FVariable-Temp.git

Only plan after all the optional modules have been loaded
---

diff --git a/t/13-magic.t b/t/13-magic.t
index 69d049e..06f9698 100644
--- a/t/13-magic.t
+++ b/t/13-magic.t
@@ -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;