summaryrefslogtreecommitdiff
path: root/t/cmd
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2012-07-09 13:00:28 -0700
committerFather Chrysostomos <sprout@cpan.org>2012-09-15 22:45:02 -0700
commit0039161fd1eda8af79f30af33ee5b36bababf4ac (patch)
tree26c4833713dce6ccf4f0cce15f8890655d3d5862 /t/cmd
parentc8e83515878c840f01f7944ec04c1b6c525653dd (diff)
downloadperl-0039161fd1eda8af79f30af33ee5b36bababf4ac.tar.gz
Remove & from redef warnings for lex subs
This is just for consistency with package subs.
Diffstat (limited to 't/cmd')
-rw-r--r--t/cmd/lexsub.t1
1 files changed, 0 insertions, 1 deletions
diff --git a/t/cmd/lexsub.t b/t/cmd/lexsub.t
index ffabbd1b7a..84abff0d8f 100644
--- a/t/cmd/lexsub.t
+++ b/t/cmd/lexsub.t
@@ -269,7 +269,6 @@ sub make_anon_with_state_sub{
state $w;
local $SIG{__WARN__} = sub { $w .= shift };
eval "#line 56 pygpyf\nsub redef {}";
-on;
is $w, "Subroutine redef redefined at pygpyf line 56.\n",
"sub redefinition warnings from state subs";
}