"Fossies" - the Fresh Open Source Software Archive

Member "libwww-perl-6.43/xt/author/test-version.t" (26 Nov 2019, 415 Bytes) of package /linux/www/libwww-perl-6.43.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

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