summaryrefslogtreecommitdiff
path: root/t/00-author-minver.t
diff options
context:
space:
mode:
authordakkar <dakkar@thenautilus.net>2011-02-13 14:21:06 +0000
committerdakkar <dakkar@thenautilus.net>2011-02-13 14:40:38 +0000
commit2aea874ff9570e31e9ff30dcf1d38df072f98893 (patch)
tree1102e34c184cfb851fd992e4f4e4a59ac2942812 /t/00-author-minver.t
parentrelaxed Perl::Critic rules (diff)
downloadTree-Template-Declare-0.4.tar.gz
Tree-Template-Declare-0.4.tar.bz2
Tree-Template-Declare-0.4.zip
prep for version 0.4v0.4
minor test fixes
Diffstat (limited to 't/00-author-minver.t')
-rw-r--r--t/00-author-minver.t33
1 files changed, 0 insertions, 33 deletions
diff --git a/t/00-author-minver.t b/t/00-author-minver.t
deleted file mode 100644
index 4dfb876..0000000
--- a/t/00-author-minver.t
+++ /dev/null
@@ -1,33 +0,0 @@
-#!/usr/bin/perl
-
-# Test that our declared minimum Perl version matches our syntax
-use strict;
-BEGIN {
- $| = 1;
- $^W = 1;
-}
-
-my @MODULES = (
- 'Perl::MinimumVersion 1.20',
- 'Test::MinimumVersion 0.008',
-);
-
-# Don't run tests during end-user installs
-use Test::More;
-unless ( $ENV{AUTOMATED_TESTING} or $ENV{RELEASE_TESTING} ) {
- plan( skip_all => "Author tests not required for installation" );
-}
-
-# Load the testing modules
-foreach my $MODULE ( @MODULES ) {
- eval "use $MODULE";
- if ( $@ ) {
- $ENV{RELEASE_TESTING}
- ? die( "Failed to load required release-testing module $MODULE" )
- : plan( skip_all => "$MODULE not available for testing" );
- }
-}
-
-all_minimum_version_from_metayml_ok();
-
-1;