[carton] 388/472: Bump cpanm. Added test for #120
Lucas Kanashiro
kanashiro-guest at moszumanska.debian.org
Fri Jul 24 00:39:27 UTC 2015
This is an automated email from the git hooks/post-receive script.
kanashiro-guest pushed a commit to branch master
in repository carton.
commit d01f9abe593f931d0e3c30212a09dfd6b1761c36
Author: Tatsuhiko Miyagawa <miyagawa at bulknews.net>
Date: Mon Aug 5 19:14:56 2013 -0700
Bump cpanm. Added test for #120
---
cpanfile | 2 +-
xt/cli/install.t | 13 +++++++++++++
2 files changed, 14 insertions(+), 1 deletion(-)
diff --git a/cpanfile b/cpanfile
index ea7c18a..013ab45 100644
--- a/cpanfile
+++ b/cpanfile
@@ -17,7 +17,7 @@ requires 'Moo', 1.002;
requires 'Path::Tiny', 0.022;
# MYMETA support
-requires 'App::cpanminus', 1.6936;
+requires 'App::cpanminus', 1.6937;
requires 'ExtUtils::MakeMaker', 6.64;
requires 'Module::Build', 0.4004;
requires 'CPAN::Meta', 2.120921;
diff --git a/xt/cli/install.t b/xt/cli/install.t
index 4829b04..03f8e62 100644
--- a/xt/cli/install.t
+++ b/xt/cli/install.t
@@ -26,5 +26,18 @@ EOF
like $app->stdout, qr/Algorithm-Diff/;
};
+subtest 'meta info for modules with version->declare' => sub {
+ my $app = cli();
+ $app->write_cpanfile(<<EOF);
+requires 'CPAN::Test::Dummy::Perl5::VersionDeclare', 'v0.0.1';
+EOF
+
+ $app->run("install");
+ $app->run("check");
+
+ like $app->stdout, qr/are satisfied/;
+ unlike $app->stderr, qr/is not installed/;
+};
+
done_testing;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/carton.git
More information about the Pkg-perl-cvs-commits
mailing list