summaryrefslogtreecommitdiff
path: root/xt
diff options
context:
space:
mode:
authorTatsuhiko Miyagawa <miyagawa@bulknews.net>2013-06-05 18:47:35 +0900
committerTatsuhiko Miyagawa <miyagawa@bulknews.net>2013-06-05 18:47:35 +0900
commited7e584e42882334fe0d391eb7816941948f717b (patch)
tree7698f34528f677070e54a7f5db88f35601ef52b6 /xt
parent5349f7d49a4237573ae2e73539565b75c90e97f7 (diff)
downloadcarton-ed7e584e42882334fe0d391eb7816941948f717b.tar.gz
install develop dependencies in cpanfile as well
Diffstat (limited to 'xt')
-rw-r--r--xt/cli/deps_phase.t (renamed from xt/cli/test_deps.t)6
1 files changed, 6 insertions, 0 deletions
diff --git a/xt/cli/test_deps.t b/xt/cli/deps_phase.t
index 65957fe..781d767 100644
--- a/xt/cli/test_deps.t
+++ b/xt/cli/deps_phase.t
@@ -8,6 +8,10 @@ use xt::CLI;
$app->dir->child("cpanfile")->spew(<<EOF);
on test => sub {
requires 'Test::NoWarnings';
+ recommends 'Test::Pretty';
+};
+on develop => sub {
+ requires 'Path::Tiny';
};
EOF
@@ -15,6 +19,8 @@ EOF
$app->run("list");
like $app->stdout, qr/Test-NoWarnings/;
+ like $app->stdout, qr/Path-Tiny/;
+ unlike $app->stdout, qr/Test-Pretty/;
}
done_testing;