[carton] 297/472: Added more test for install

Lucas Kanashiro kanashiro-guest at moszumanska.debian.org
Fri Jul 24 00:38:57 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 46783c166196c77ac8c69f4ba2c0d0507133babb
Author: Tatsuhiko Miyagawa <miyagawa at bulknews.net>
Date:   Wed Jun 5 19:04:01 2013 +0900

    Added more test for install
---
 xt/cli/check.t | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/xt/cli/check.t b/xt/cli/check.t
index 51d7616..21bd3c2 100644
--- a/xt/cli/check.t
+++ b/xt/cli/check.t
@@ -36,6 +36,19 @@ EOF
 
     $app->run("list");
     like $app->stdout, qr/Try-Tiny-0\.12/;
+
+    $app->dir->child("cpanfile")->spew(<<EOF);
+requires 'Try::Tiny', '10.00';
+EOF
+
+    $app->run("check");
+    like $app->stdout, qr/not satisfied/;
+
+    $app->run("install");
+    like $app->stderr, qr/failed/;
+
+    $app->run("check");
+    like $app->stdout, qr/not satisfied/;
 }
 
 

-- 
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