[carton] 300/472: Add test for mismatch deps #68

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 655b5fb4da16fd087b047841d7489f8cabfef8cb
Author: Tatsuhiko Miyagawa <miyagawa at bulknews.net>
Date:   Wed Jun 5 19:18:11 2013 +0900

    Add test for mismatch deps #68
    
    It runs fine for me but i think it depends on the order of cpanfile resolution.
---
 xt/cli/mismatch.t | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/xt/cli/mismatch.t b/xt/cli/mismatch.t
new file mode 100644
index 0000000..6a5149c
--- /dev/null
+++ b/xt/cli/mismatch.t
@@ -0,0 +1,20 @@
+use strict;
+use Test::More;
+use xt::CLI;
+
+{
+    my $app = cli();
+
+    $app->dir->child('cpanfile')->spew(<<EOF);
+requires 'Data::Dumper' => '== 2.139';
+requires 'Test::Differences' => '== 0.61';
+EOF
+
+    $app->run("install");
+    $app->run("list");
+    like $app->stdout, qr/Data-Dumper-2\.139/;
+    like $app->stdout, qr/Test-Differences-0\.61/;
+}
+
+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