diff options
Diffstat (limited to 'xt/cli/perl.t')
-rw-r--r-- | xt/cli/perl.t | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/xt/cli/perl.t b/xt/cli/perl.t new file mode 100644 index 0000000..a7e0143 --- /dev/null +++ b/xt/cli/perl.t @@ -0,0 +1,23 @@ +use strict; +use Test::More; +use xt::CLI; + +{ + my $app = cli(); + + $app->write_cpanfile(<<EOF); +requires 'perl', '5.8.5'; +requires 'Hash::MultiValue'; +EOF + + $app->run("install"); + like $app->stdout, qr/Complete/; + + $app->run("list"); + like $app->stdout, qr/Hash-MultiValue-/; +} + +done_testing; + + + |