build_requires 'Test::Moose';
build_requires 'Test::More' => '0.62';
build_requires 'Test::Exception' => '0.21';
-build_requires 'Capture::Tiny' => '0';
author_requires 'Test::Pod' => 1.14;
author_requires 'Test::Pod::Coverage' => '1.04';
use strict;
use warnings;
-use Capture::Tiny 'capture';
use File::Spec::Functions 'catfile';
use Test::More;
+BEGIN {
+ eval "use Capture::Tiny 'capture'";
+ plan skip_all => "Capture::Tiny unavailable" if $@;
+}
+
my $HAVE_SIMPLECONFIG = eval {
require MooseX::SimpleConfig;
return 1;