diff options
author | Sutou Kouhei <kou@clear-code.com> | 2020-05-13 08:33:33 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2020-07-20 02:32:50 +0900 |
commit | 5359121a56e90bd4b42a6638046ca34ea72dee8d (patch) | |
tree | b680025fca57f8aa0e1cece9cb7568d53af91400 | |
parent | 0ee5578e8caa8562cc48234684aaab086a3e13e9 (diff) | |
download | ruby-5359121a56e90bd4b42a6638046ca34ea72dee8d.tar.gz |
[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
-rw-r--r-- | test/csv/test_encodings.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/csv/test_encodings.rb b/test/csv/test_encodings.rb index ea686cb27b..cd63af6a83 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 |