1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[ruby/csv] Revert "test: use binary mode explicitly for Ruby 2.7"

This reverts commit 736174d28413a4c36630b0daf2f170c8d2fc9abe.

It doesn't solve anything.

https://github.com/ruby/csv/commit/0ee3bdd0d3
This commit is contained in:
Sutou Kouhei 2020-05-13 08:33:33 +09:00 committed by Nobuyoshi Nakada
parent 0ee5578e8c
commit 5359121a56
No known key found for this signature in database
GPG key ID: 7CD2805BFA3770C6
Notes: git 2020-07-20 03:35:45 +09:00

View file

@ -83,7 +83,7 @@ class TestCSVEncodings < Test::Unit::TestCase
no_warnings do
Encoding.default_external = encoding
end
result = CSV.read(@temp_csv_path, "rb")[0][0]
result = CSV.read(@temp_csv_path)[0][0]
ensure
no_warnings do
Encoding.default_external = default_external