aboutsummaryrefslogtreecommitdiffstats
path: root/test/csv/test_table.rb
diff options
context:
space:
mode:
authorjeg2 <jeg2@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-03-23 14:59:25 +0000
committerjeg2 <jeg2@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-03-23 14:59:25 +0000
commit1bd1128989a339790a658c43ec3d9769b49265da (patch)
tree6efae89644fcd74cdab3f28209243b8e9c057cf1 /test/csv/test_table.rb
parent0471422beb4d786ede528612c8486296761a59ee (diff)
downloadruby-1bd1128989a339790a658c43ec3d9769b49265da.tar.gz
* lib/csv.rb: Incorporating the fixes from the recent
FasterCSV releases: 1.5.2 and 1.5.3. [ruby-core:25038] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27025 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/csv/test_table.rb')
-rw-r--r--test/csv/test_table.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/csv/test_table.rb b/test/csv/test_table.rb
index b7c72b8fcb..d0b421750f 100644
--- a/test/csv/test_table.rb
+++ b/test/csv/test_table.rb
@@ -253,6 +253,8 @@ class TestCSVTable < Test::Unit::TestCase
# with options
assert_equal( csv.gsub(",", "|").gsub("\n", "\r\n"),
@table.to_csv(col_sep: "|", row_sep: "\r\n") )
+ assert_equal( csv.lines.to_a[1..-1].join,
+ @table.to_csv(:write_headers => false) )
# with headers
assert_equal(csv, @header_table.to_csv)