[carton] 390/472: bump cpanm. Test for qv()

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 5a8be44f68eb0b70ad3ceb28c1e9f790d2af143f
Author: Tatsuhiko Miyagawa <miyagawa at bulknews.net>
Date:   Mon Aug 5 23:19:40 2013 -0700

    bump cpanm. Test for qv()
---
 cpanfile         |  2 +-
 xt/cli/install.t | 13 +++++++++++++
 2 files changed, 14 insertions(+), 1 deletion(-)

diff --git a/cpanfile b/cpanfile
index 013ab45..952f396 100644
--- a/cpanfile
+++ b/cpanfile
@@ -17,7 +17,7 @@ requires 'Moo', 1.002;
 requires 'Path::Tiny', 0.022;
 
 # MYMETA support
-requires 'App::cpanminus', 1.6937;
+requires 'App::cpanminus', 1.6938;
 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 03f8e62..926f3de 100644
--- a/xt/cli/install.t
+++ b/xt/cli/install.t
@@ -39,5 +39,18 @@ EOF
     unlike $app->stderr, qr/is not installed/;
 };
 
+subtest 'meta info for modules with qv()' => sub {
+    my $app = cli();
+    $app->write_cpanfile(<<EOF);
+requires 'CPAN::Test::Dummy::Perl5::VersionQV', 'v0.1.0';
+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