diff options
Diffstat (limited to 'lib/Test/Simple/t/has_plan2.t')
-rw-r--r-- | lib/Test/Simple/t/has_plan2.t | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/Test/Simple/t/has_plan2.t b/lib/Test/Simple/t/has_plan2.t index 2b9ac499da..b988737d08 100644 --- a/lib/Test/Simple/t/has_plan2.t +++ b/lib/Test/Simple/t/has_plan2.t @@ -19,8 +19,12 @@ BEGIN { require Test::Harness; } -if( $Test::Harness::VERSION < 1.20 ) { - plan skip_all => 'Need Test::Harness 1.20 or up'; +# This feature requires a fairly new version of Test::Harness +if( $Test::Harness::VERSION < 2.03 ) { + plan tests => 1; + diag "Need Test::Harness 2.03 or up. You have $Test::Harness::VERSION."; + fail 'Need Test::Harness 2.03 or up'; + exit; } use strict; |