From 033d875ea6b1e47e44e3105c98afd4b0a1fc897c Mon Sep 17 00:00:00 2001 From: Father Chrysostomos Date: Thu, 22 Dec 2011 22:37:39 -0800 Subject: [PATCH] Fix up t/lib/feature/implicit MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Some tests were relying on the side effect of ‘use 5.9.5’ loading feature.pm. --- t/lib/feature/implicit | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/t/lib/feature/implicit b/t/lib/feature/implicit index 010ce8c..4dd7dcf 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"; -- 2.7.4