test that we can use the exact current strictures version
[p5sagit/strictures.git] / t / strictures.t
index ad8ec10..98bd177 100644 (file)
@@ -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";