]> git.vpit.fr Git - perl/modules/Scope-Upper.git/blobdiff - t/06-want_at.t
Warn when the words target a context outside of the current stack
[perl/modules/Scope-Upper.git] / t / 06-want_at.t
index 8262255907b626888a11c959683ce53e13af6cbb..540acda988492e21f86d13931a9dd0b1748d103f 100644 (file)
@@ -3,9 +3,9 @@
 use strict;
 use warnings;
 
-use Test::More tests => 19;
+use Test::More tests => 18;
 
-use Scope::Upper qw/want_at UP HERE/;
+use Scope::Upper qw<want_at UP HERE>;
 
 sub check {
  my ($w, $exp, $desc) = @_;
@@ -26,7 +26,6 @@ my $w;
 
 check want_at,       undef, 'main : want_at';
 check want_at(HERE), undef, 'main : want_at HERE';
-check want_at(UP),   undef, 'main : want_at UP';
 check want_at(-1),   undef, 'main : want_at -1';
 
 my @a = sub {