#!/usr/bin/perl
BEGIN {
unless
(
$ENV
{RELEASE_TESTING}) {
Test::More::plan(
skip_all
=>
'these tests are for release candidate testing'
);
}
}
use
5.006;
use
strict;
use
warnings;
use
Test::More;
use
Test::Requires {
'Test::Version'
=> 1,
'version'
=> 0.86,
};
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;