Skip to content

Commit

Permalink
Fix gofer.t test failures due to utf8-enabled STDIN/STDOUT
Browse files Browse the repository at this point in the history
  • Loading branch information
mauke committed Feb 13, 2016
1 parent 6933f27 commit 8f6011c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/DBI/Gofer/Transport/pipeone.pm
Expand Up @@ -22,6 +22,9 @@ my $executor = DBI::Gofer::Execute->new();

sub run_one_stdio {

binmode STDIN;
binmode STDOUT;

my $transport = DBI::Gofer::Transport::pipeone->new();

my $frozen_request = do { local $/; <STDIN> };
Expand Down

0 comments on commit 8f6011c

Please sign in to comment.