X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fstrictures.t;fp=t%2Fstrictures.t;h=98bd17771ff6ac97d3afc55a42f78b7c67341885;hb=a086d4e2923e0f163c2710de211f80bfc1490d74;hp=ad8ec108b5e5a2e73702d571b74a252dc9d63ab5;hpb=3d4f7774b1c23f9e06a612d06e2b9683a884cc4c;p=p5sagit%2Fstrictures.git 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";