diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/csv/test_interface.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/csv/test_interface.rb b/test/csv/test_interface.rb index a6028f92f3..e1f07f7323 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 |