Skip to content

Commit

Permalink
Update 04_print.t
Browse files Browse the repository at this point in the history
Fix Test failure on 5.18.4.
  • Loading branch information
twata1 committed Mar 12, 2017
1 parent c38abd2 commit a6d6cd3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions t/04_print.t
Expand Up @@ -7,6 +7,11 @@ use Test::Output;
use Win32::Unicode;
use File::Spec;

BEGIN {
binmode STDOUT, ':encoding(utf8)';
binmode STDERR, ':encoding(utf8)';
}

open STDERR, '>', File::Spec->devnull or die $!;

my $str = " I \x{2665} Perl";
Expand Down

0 comments on commit a6d6cd3

Please sign in to comment.