Fix up t/lib/feature/implicit
authorFather Chrysostomos <sprout@cpan.org>
Fri, 23 Dec 2011 06:37:39 +0000 (22:37 -0800)
committerFather Chrysostomos <sprout@cpan.org>
Sat, 24 Dec 2011 17:25:19 +0000 (09:25 -0800)
Some tests were relying on the side effect of ‘use 5.9.5’ loading
feature.pm.

t/lib/feature/implicit

index 010ce8c..4dd7dcf 100644 (file)
@@ -21,17 +21,10 @@ Helloworld
 ########
 # VERSION requirement, decimal notation
 use 5.009005;
-say defined $INC{"feature.pm"} ? "Helloworld" : "Good bye";
+say "Helloworld";
 EXPECT
 Helloworld
 ########
-# VERSION requirement, imports :default feature for < 5.9.5
-BEGIN { ++$INC{"feature.pm"} }
-sub feature::import { print $_[1], "\n" }
-use 5.8.8;
-EXPECT
-:default
-########
 # VERSION requirement, doesn't load anything with require
 require 5.9.5;
 print "<".$INC{"feature.pm"}.">\n";