3
use Test::More $ENV{EXTENDED_TESTING} ? ()
4
: (skip_all => 'Set EXTENDED_TESTING to enable Moo testing');
10
$ENV{PERL5LIB} = join $Config{path_sep}, @INC;
12
open my $in, '<', File::Spec->devnull
13
or die "can't open devnull: $!";
15
my $pid = open3 $in, my $out, undef, $^X, '-MCPAN', '-e', 'test @ARGV', 'Moo';
16
my $output = do { local $/; <$out> };
21
like $output, qr/--\s*OK\s*\z/,