Skip to content

Commit

Permalink
Merge pull request #2869 from ganmacs/test-fix-for-windows
Browse files Browse the repository at this point in the history
Test: Use binmode for Tempfile
  • Loading branch information
ganmacs committed Mar 10, 2020
2 parents 66cad23 + 7a50090 commit 26f6e71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/plugin/in_tail/test_io_handler.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

class IntailIOHandlerTest < Test::Unit::TestCase
setup do
@file = Tempfile.new('intail_io_handler')
@file = Tempfile.new('intail_io_handler').binmode
end

teardown do
Expand Down

0 comments on commit 26f6e71

Please sign in to comment.