This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0419d97
)
Remove unused sub from strict vs. multideref test
author
Dagfinn Ilmari Mannsåker
<ilmari@ilmari.org>
Sun, 17 Jan 2016 15:09:46 +0000
(15:09 +0000)
committer
Dagfinn Ilmari Mannsåker
<ilmari@ilmari.org>
Sun, 17 Jan 2016 15:20:22 +0000
(15:20 +0000)
t/lib/strict/subs
patch
|
blob
|
blame
|
history
diff --git
a/t/lib/strict/subs
b/t/lib/strict/subs
index
bad22c6
..
246be0e
100644
(file)
--- a/
t/lib/strict/subs
+++ b/
t/lib/strict/subs
@@
-460,11
+460,10
@@
Bareword "FOO" not allowed while "strict subs" in use at - line 3.
Execution of - aborted due to compilation errors.
########
# [perl #126981] Strict subs vs. multideref
-sub CONST () { 'some_key' }
my $h;
my $v1 = $h->{+CONST_TYPO};
use strict 'subs';
my $v2 = $h->{+CONST_TYPO};
EXPECT
-Bareword "CONST_TYPO" not allowed while "strict subs" in use at - line
6
.
+Bareword "CONST_TYPO" not allowed while "strict subs" in use at - line
5
.
Execution of - aborted due to compilation errors.