From: Karen Etheridge Date: Thu, 21 Dec 2017 03:39:00 +0000 (-0800) Subject: just skip when tests on all perls since when changed to whereis/whereso X-Git-Tag: v0.30~1 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=3b23a067456a426e1e3d1ecaf62717c673f37888;p=p5sagit%2FTry-Tiny.git just skip when tests on all perls since when changed to whereis/whereso --- diff --git a/Changes b/Changes index f90eaa5..55a8c18 100644 --- a/Changes +++ b/Changes @@ -1,6 +1,7 @@ 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 diff --git a/t/given_when.t b/t/given_when.t index b141957..ca950f5 100644 --- a/t/given_when.t +++ b/t/given_when.t @@ -5,7 +5,7 @@ use Test::More; 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; } diff --git a/t/when.t b/t/when.t index 58bf809..f9a949e 100644 --- a/t/when.t +++ b/t/when.t @@ -5,7 +5,7 @@ use Test::More; 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; }