"Fossies" - the Fresh Open Source Software Archive

Member "MIME-Base64-3.16/xt/author/test-version.t" (27 Sep 2020, 457 Bytes) of package /linux/privat/MIME-Base64-3.16.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     filename_match => [ qr/Base64\.pm$/ ],
   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;