diff options
Diffstat (limited to 'ext/Encode/t/enc_module.t')
-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 ac9bf3caf1..09100298f2 100644 --- a/ext/Encode/t/enc_module.t +++ b/ext/Encode/t/enc_module.t @@ -38,6 +38,7 @@ open STDOUT, ">", $file1 or die "$file1:$!"; print $obj->str, "\n"; $obj->set("テスト文字列"); print $obj->str, "\n"; +close STDOUT; my $cmp = compare_text($file0, $file1); is($cmp, 0, "encoding vs. STDOUT"); @@ -51,7 +52,6 @@ while(<STDIN>){ is ($cmp[$i++], $_, "encoding vs. STDIN - $i"); } -close STDOUT; unlink $file1 unless $cmp; __END__ |