diff options
Diffstat (limited to 'ext')
-rw-r--r-- | ext/Encode/t/enc_module.t | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/Encode/t/enc_module.t b/ext/Encode/t/enc_module.t index 21312bbfb3..21f0621e77 100644 --- 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"); } |