summaryrefslogtreecommitdiff
path: root/test/csv
diff options
context:
space:
mode:
authorjeg2 <jeg2@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-03-29 16:00:47 +0000
committerjeg2 <jeg2@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-03-29 16:00:47 +0000
commita9b53f6397e33fee8e4d9cda5a3a4e113a21a520 (patch)
tree811e2d10415d3db1c27b4ce9820934b4e766f160 /test/csv
parent896db7d62512ec9baa5b5f7b0644e22d3c619064 (diff)
* test/csv/test_interface.rb: Trying a fix for some failing tests
on Windows. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23094 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/csv')
-rw-r--r--test/csv/test_interface.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/csv/test_interface.rb b/test/csv/test_interface.rb
index a6028f9..e1f07f7 100644
--- a/test/csv/test_interface.rb
+++ b/test/csv/test_interface.rb
@@ -15,7 +15,7 @@ class TestCSVInterface < Test::Unit::TestCase
def setup
@path = File.join(File.dirname(__FILE__), "temp_test_data.csv")
- File.open(@path, "w") do |file|
+ File.open(@path, "wb") do |file|
file << "1\t2\t3\r\n"
file << "4\t5\r\n"
end