]> git.vpit.fr Git - perl/modules/Task-Devel-Cover-Recommended.git/commitdiff
Silence possible 'used only once' warnings for $VPIT::TestHelpers::TODO
authorVincent Pit <vince@profvince.com>
Mon, 20 Aug 2012 17:07:27 +0000 (19:07 +0200)
committerVincent Pit <vince@profvince.com>
Mon, 20 Aug 2012 17:07:36 +0000 (19:07 +0200)
t/lib/VPIT/TestHelpers.pm

index 0ac92001aa66fe1e6594dd9a72a1878b77864f0f..18f2b175570ca4ca6c36faeab56d589c7b256dca 100644 (file)
@@ -27,6 +27,9 @@ sub diag {
  Test::More::diag($_) for @_;
 }
 
+our $TODO;
+local $TODO;
+
 sub load_or_skip {
  my ($pkg, $ver, $imports, $desc) = @_;
  my $spec = $ver && $ver !~ /^[0._]*$/ ? "$pkg $ver" : $pkg;