summaryrefslogtreecommitdiff
path: root/test/csv/test_encodings.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/csv/test_encodings.rb')
-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 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