summaryrefslogtreecommitdiff
path: root/xt/cli/version.t
diff options
context:
space:
mode:
Diffstat (limited to 'xt/cli/version.t')
-rw-r--r--xt/cli/version.t12
1 files changed, 12 insertions, 0 deletions
diff --git a/xt/cli/version.t b/xt/cli/version.t
new file mode 100644
index 0000000..d99b9d6
--- /dev/null
+++ b/xt/cli/version.t
@@ -0,0 +1,12 @@
+use strict;
+use Test::More;
+
+use xt::CLI;
+
+my $app = cli();
+$app->run("version");
+
+like $app->stdout, qr/carton $Carton::VERSION/;
+
+done_testing;
+