~ubuntu-branches/ubuntu/trusty/libtest-roo-perl/trusty-proposed

« back to all changes in this revision

Viewing changes to xt/release/test-version.t

  • Committer: Package Import Robot
  • Author(s): gregor herrmann
  • Date: 2014-01-14 19:25:11 UTC
  • Revision ID: package-import@ubuntu.com-20140114192511-9ycl4dc1zgamfnek
Tags: upstream-1.002
ImportĀ upstreamĀ versionĀ 1.002

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
use strict;
 
2
use warnings;
 
3
use Test::More;
 
4
 
 
5
# generated by Dist::Zilla::Plugin::Test::Version 0.002004
 
6
BEGIN { eval "use Test::Version; 1;" or die $@; }
 
7
 
 
8
my @imports = ( 'version_all_ok' );
 
9
 
 
10
my $params = {
 
11
    is_strict   => 0,
 
12
    has_version => 1,
 
13
};
 
14
 
 
15
push @imports, $params
 
16
    if version->parse( $Test::Version::VERSION ) >= version->parse('1.002');
 
17
 
 
18
 
 
19
Test::Version->import(@imports);
 
20
 
 
21
version_all_ok;
 
22
done_testing;