Skip to content

Commit

Permalink
Merge pull request #4728 from Watson1978/fix-test_out_file
Browse files Browse the repository at this point in the history
test_out_file: fix file open mode for binary file
  • Loading branch information
kenhys authored Dec 9, 2024
2 parents c2da819 + b11aab6 commit 7868b5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/plugin/test_out_file.rb
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ def create_driver(conf = CONFIG, opts = {})
assert_equal r5, d.formatted[4]

read_gunzip = ->(path){
File.open(path){ |fio|
File.open(path, 'rb'){ |fio|
Zlib::GzipReader.new(StringIO.new(fio.read)).read
}
}
Expand Down

0 comments on commit 7868b5d

Please sign in to comment.