Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
22 lines (15 sloc) 875 Bytes
use strict;
use Test::More;
use xt::Run;
my $local_lib = "$ENV{PERL_CPANM_HOME}/perl5";
run "-L", $local_lib, "--mirror-index", "xt/mirror.txt", "Hash::MultiValue";
like last_build_log, qr/installed Hash-MultiValue-0\.02/;
run "-L", $local_lib, "--mirror-index", "xt/mirror.txt", "--skip-installed", "Hash::MultiValue~0.03";
like last_build_log, qr/Hash::MultiValue is up to date/;
run "-L", $local_lib, "--mirror-index", "xt/mirror.txt", "--skip-installed", "--cascade-search", "Hash::MultiValue~0.03";
like last_build_log, qr/installed Hash-MultiValue-/;
run "-L", $local_lib, "--mirror-index", "xt/mirror.txt", "--skip-installed", "Try::Tiny";
like last_build_log, qr/Couldn't find .* Try::Tiny/;
run "-L", $local_lib, "--mirror-index", "xt/mirror.txt", "--skip-installed", "--cascade-search", "Try::Tiny";
like last_build_log, qr/installed Try-Tiny/;
done_testing;
Jump to Line
Something went wrong with that request. Please try again.