diff options
author | Lorry Tar Creator <lorry-tar-importer@lorry> | 2015-05-15 19:21:51 +0000 |
---|---|---|
committer | Lorry Tar Creator <lorry-tar-importer@lorry> | 2015-05-15 19:21:51 +0000 |
commit | e31f9059a9f3918f12c40d4d66f2db885d6f914a (patch) | |
tree | e87f850b34f4bafba1f735ed2162a0d7cba5a635 /xt/cli/no_cpanfile.t | |
download | Carton-tarball-e31f9059a9f3918f12c40d4d66f2db885d6f914a.tar.gz |
Carton-v1.0.21HEADCarton-v1.0.21master
Diffstat (limited to 'xt/cli/no_cpanfile.t')
-rw-r--r-- | xt/cli/no_cpanfile.t | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/xt/cli/no_cpanfile.t b/xt/cli/no_cpanfile.t new file mode 100644 index 0000000..e12d2c3 --- /dev/null +++ b/xt/cli/no_cpanfile.t @@ -0,0 +1,13 @@ +use strict; +use Test::More; +use xt::CLI; + +{ + my $app = cli(); + $app->run("install"); + like $app->stderr, qr/Can't locate cpanfile/; + is $app->exit_code, 255; +} + +done_testing; + |