summaryrefslogtreecommitdiff
path: root/test/csv
diff options
context:
space:
mode:
authorSutou Kouhei <kou@clear-code.com>2020-05-13 08:33:33 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2020-07-20 02:32:50 +0900
commit5359121a56e90bd4b42a6638046ca34ea72dee8d (patch)
treeb680025fca57f8aa0e1cece9cb7568d53af91400 /test/csv
parent0ee5578e8caa8562cc48234684aaab086a3e13e9 (diff)
[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
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/3332
Diffstat (limited to 'test/csv')
-rw-r--r--test/csv/test_encodings.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/csv/test_encodings.rb b/test/csv/test_encodings.rb
index ea686cb..cd63af6 100644
--- a/test/csv/test_encodings.rb
+++ b/test/csv/test_encodings.rb
@@ -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