Revision history for Try-Tiny
{{$NEXT}}
+ - expand "when" test skippage to more perl versions
0.29 2017-12-19 03:51:26Z
- skip tests of "when" and "given/when" usage for perl 5.27.7 *only* (see
BEGIN {
plan skip_all => 'Perl 5.010 is required' unless "$]" >= '5.010';
- plan skip_all => 'Tests skipped on perl 5.27.7, pending resolution of smartmatch changes' if "$]" eq '5.027007';
+ plan skip_all => 'Tests skipped on perl 5.27.7+, pending resolution of smartmatch changes' if "$]" >= '5.027007';
plan tests => 2;
}
BEGIN {
plan skip_all => 'Perl 5.010 is required' unless "$]" >= '5.010';
- plan skip_all => 'Tests skipped on perl 5.27.7, pending resolution of smartmatch changes' if "$]" eq '5.027007';
+ plan skip_all => 'Tests skipped on perl 5.27.7+, pending resolution of smartmatch changes' if "$]" >= '5.027007';
plan tests => 5;
}