From: Graham Knop Date: Sun, 28 Jun 2015 07:37:41 +0000 (-0400) Subject: test that we can use the exact current strictures version X-Git-Tag: v2.000001~2 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=a086d4e2923e0f163c2710de211f80bfc1490d74;p=p5sagit%2Fstrictures.git test that we can use the exact current strictures version --- diff --git a/t/strictures.t b/t/strictures.t index ad8ec10..98bd177 100644 --- a/t/strictures.t +++ b/t/strictures.t @@ -61,3 +61,8 @@ eval qq{ use strictures $next; }; like $@, qr/strictures version $next required/, "Can't use strictures $next (this is version $v)"; + +eval qq{ use strictures $strictures::VERSION; }; + +is $@, '', + "Can use current strictures version";