X-Git-Url: https://perl5.git.perl.org/perl5.git/blobdiff_plain/33f89799d9328f3d175aa913900d16794119e284..649716a8e8da01843c160e26bdb22e402b02d47b:/t/uni/gv.t diff --git a/t/uni/gv.t b/t/uni/gv.t index f128ec5..5ea70c1 100644 --- a/t/uni/gv.t +++ b/t/uni/gv.t @@ -6,15 +6,16 @@ BEGIN { chdir 't' if -d 't'; - @INC = '../lib'; require './test.pl'; + @INC = () unless is_miniperl(); + unshift @INC, '../lib'; } use utf8; use open qw( :utf8 :std ); use warnings; -plan( tests => 212 ); +plan( tests => 207 ); # type coersion on assignment $ᕘ = 'ᕘ'; @@ -194,18 +195,6 @@ is (*{*Ẋ{GLOB}}, "*main::STDOUT"); my $a = "Sʎm000"; ok(!defined *{$a}); - { - no warnings 'deprecated'; - ok(!defined @{$a}); - } - ok(!defined *{$a}); - - { - no warnings 'deprecated'; - ok(!defined %{$a}); - } - ok(!defined *{$a}); - ok(!defined ${$a}); ok(!defined *{$a}); @@ -503,7 +492,7 @@ no warnings 'once'; format = . - foreach my $value ([1,2,3], {1=>2}, *STDOUT{IO}, \&ok, *STDOUT{FORMAT}) { + foreach my $value ({1=>2}, *STDOUT{IO}, \&ok, *STDOUT{FORMAT}) { # *STDOUT{IO} returns a reference to a PVIO. As it's blessed, ref returns # IO::Handle, which isn't what we want. my $type = $value;