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:
f004de3
)
lex_assign.t: Actually test chomp
author
Father Chrysostomos
<sprout@cpan.org>
Mon, 29 Dec 2014 14:24:12 +0000
(06:24 -0800)
committer
Father Chrysostomos
<sprout@cpan.org>
Tue, 30 Dec 2014 06:03:29 +0000
(22:03 -0800)
t/op/lex_assign.t
patch
|
blob
|
blame
|
history
diff --git
a/t/op/lex_assign.t
b/t/op/lex_assign.t
index
a922b5f
..
a8a99e9
100644
(file)
--- a/
t/op/lex_assign.t
+++ b/
t/op/lex_assign.t
@@
-197,7
+197,7
@@
ref $cstr # ref nonref
(@z = (1 .. 3)) # aassign
(chop (@x=@chopar)) # chop
chop $chopit # schop
-(cho
p (@x=@chopar))
# chomp
+(cho
mp (@x=@chopar))
# chomp
chomp $chopit # schomp
pos $posstr # pos
pos $chopit # pos returns undef