summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2011-12-22 22:37:39 -0800
committerFather Chrysostomos <sprout@cpan.org>2011-12-24 09:25:19 -0800
commit033d875ea6b1e47e44e3105c98afd4b0a1fc897c (patch)
tree4ab13772ee27690cfe7124dd237ca7a0295dd242 /t
parent83141fdc89d784eac3fe1e46c6b00a63c868774f (diff)
downloadperl-033d875ea6b1e47e44e3105c98afd4b0a1fc897c.tar.gz
Fix up t/lib/feature/implicit
Some tests were relying on the side effect of ‘use 5.9.5’ loading feature.pm.
Diffstat (limited to 't')
-rw-r--r--t/lib/feature/implicit9
1 files changed, 1 insertions, 8 deletions
diff --git a/t/lib/feature/implicit b/t/lib/feature/implicit
index 010ce8c628..4dd7dcf32a 100644
--- a/t/lib/feature/implicit
+++ b/t/lib/feature/implicit
@@ -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";