Bumping version to 0.35
[catagits/Catalyst-Plugin-ConfigLoader.git] / t / 22-suffix_env.t
index 3d47bd6..f9e73f4 100644 (file)
@@ -4,9 +4,14 @@ use warnings;
 use FindBin;
 use lib "$FindBin::Bin/lib";
 
-use Test::More tests => 3;
+use Test::More;
 
 BEGIN {
+    eval { require Catalyst; Catalyst->VERSION( '5.80001' ); };
+
+    plan skip_all => 'Catalyst 5.80001 required' if $@;
+    plan tests => 3;
+
     $ENV{ TESTAPP_CONFIG_LOCAL_SUFFIX } = 'test';
     use_ok 'Catalyst::Test', 'TestApp';
 }