projects
/
p5sagit/p5-mst-13.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
44b443f
)
another fix for failing test on windows ("use encoding" puts
Gurusamy Sarathy [Fri, 14 Mar 2003 04:20:51 +0000 (
04:20
+0000)]
STDIN in :raw mode, so chomp() wasn't stripping the CR)
p4raw-id: //depot/perl@18966
ext/Encode/t/enc_module.t
patch
|
blob
|
blame
|
history
diff --git
a/ext/Encode/t/enc_module.t
b/ext/Encode/t/enc_module.t
index
21312bb
..
21f0621
100644
(file)
--- a/
ext/Encode/t/enc_module.t
+++ b/
ext/Encode/t/enc_module.t
@@
-49,7
+49,7
@@
open STDIN, "<", $file0 or die "$file0:$!";
$obj = Mod_EUCJP->new;
my $i = 0;
while(<STDIN>){
- chomp;
+ s/\r?\n\z//;
is ($cmp[$i++], $_, "encoding vs. STDIN - $i");
}