summaryrefslogtreecommitdiff
path: root/xt/author/test-version.t
diff options
context:
space:
mode:
Diffstat (limited to 'xt/author/test-version.t')
-rw-r--r--xt/author/test-version.t23
1 files changed, 23 insertions, 0 deletions
diff --git a/xt/author/test-version.t b/xt/author/test-version.t
new file mode 100644
index 0000000..247ba9a
--- /dev/null
+++ b/xt/author/test-version.t
@@ -0,0 +1,23 @@
+use strict;
+use warnings;
+use Test::More;
+
+# generated by Dist::Zilla::Plugin::Test::Version 1.09
+use Test::Version;
+
+my @imports = qw( version_all_ok );
+
+my $params = {
+ is_strict => 0,
+ has_version => 1,
+ multiple => 0,
+
+};
+
+push @imports, $params
+ if version->parse( $Test::Version::VERSION ) >= version->parse('1.002');
+
+Test::Version->import(@imports);
+
+version_all_ok;
+done_testing;