[carton] 268/472: added test for test

Lucas Kanashiro kanashiro-guest at moszumanska.debian.org
Fri Jul 24 00:38:53 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 20ad0f6e59d953d1b871daad09c36ee616079242
Author: Tatsuhiko Miyagawa <miyagawa at bulknews.net>
Date:   Mon Jun 3 23:29:28 2013 +0900

    added test for test
---
 xt/cli/tree.t | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/xt/cli/tree.t b/xt/cli/tree.t
new file mode 100644
index 0000000..d96d7f1
--- /dev/null
+++ b/xt/cli/tree.t
@@ -0,0 +1,22 @@
+use strict;
+use Test::More;
+use xt::CLI;
+use Cwd;
+
+{
+    my $app = cli();
+
+    $app->dir->touch("cpanfile", <<EOF);
+requires 'Test::TCP';
+EOF
+
+    $app->run("install");
+    $app->run("tree");
+
+    like $app->output, qr/^Test-TCP-.*\n Test-SharedFork-.*\n  Test-Requires-.*/;
+}
+
+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