#!/usr/bin/perl

BEGIN {
  unless ($ENV{RELEASE_TESTING}) {
    require Test::More;
    Test::More::plan(skip_all => 'these tests are for release candidate testing');
  }
}

use strict;
use warnings;
use Test::More;

BEGIN {
	eval "use Test::Version; 1;" or die "$@_";
}

my @imports = ( 'version_all_ok' );

my $params = {
    is_strict   => 0,
    has_version => 1,
};

push @imports, $params
    if version->parse( $Test::Version::VERSION ) >= version->parse('1.002');


Test::Version->import(@imports);

version_all_ok;
done_testing;


BEGIN {
  unless ($ENV{RELEASE_TESTING}) {
    require Test::More;
    Test::More::plan(skip_all => 'these tests are for release candidate testing');
  }
}

use strict;
use warnings;
use Test::More;

# generated by Dist::Zilla::Plugin::Test::Version 0.002002
BEGIN {
	eval "use Test::Version; 1;" or die $@;
}

my @imports = ( 'version_all_ok' );

my $params = {
    is_strict   => 0,
    has_version => 1,
};

push @imports, $params
    if version->parse( $Test::Version::VERSION ) >= version->parse('1.002');


Test::Version->import(@imports);

version_all_ok;
done_testing;

Build results of 1c89f77 (on master)
Build results of 1c89f77 (on master)