diff options
author | Tony Cook <tony@develop-help.com> | 2014-07-14 10:40:47 +1000 |
---|---|---|
committer | Tony Cook <tony@develop-help.com> | 2014-08-11 09:32:09 +1000 |
commit | 3969ff3f8e4bff4c0c8d6577220d61d3962a9f56 (patch) | |
tree | 06f582e9b71d22ddde6875630668a74ff30656cc /t | |
parent | 2806bfd899e5e4e1c29077c080a6a9ebc3512295 (diff) | |
download | perl-3969ff3f8e4bff4c0c8d6577220d61d3962a9f56.tar.gz |
[perl #122107] ensure that BEGIN blocks with errors don't remain named subs
Diffstat (limited to 't')
-rw-r--r-- | t/op/sub.t | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/t/op/sub.t b/t/op/sub.t index 0e4ffda197..1861623c75 100644 --- a/t/op/sub.t +++ b/t/op/sub.t @@ -223,11 +223,9 @@ ok !exists $INC{"re.pm"}, 're.pm not loaded yet'; 'Pure-Perl sub clobbering sub whose DESTROY assigns to the glob'; } -{ local $TODO = "fixed in next commit"; # [perl #122107] previously this would return # Subroutine BEGIN redefined at (eval 2) line 2. fresh_perl_is(<<'EOS', "", { stderr => 1 }, use strict; use warnings; eval q/use File::{Spec}/; eval q/use File::Spec/; EOS "check special blocks are cleared on error"); -} |