summaryrefslogtreecommitdiff
path: root/test/csv/tc_table.rb
diff options
context:
space:
mode:
authorjeg2 <jeg2@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-10-10 15:09:34 +0000
committerjeg2 <jeg2@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-10-10 15:09:34 +0000
commit7d3d3535584bd70d0a9a0f5f9abc3aeeea115c5a (patch)
treeb2f1a5c1c3c8816f2fb2a23f16be169cc89ed9c8 /test/csv/tc_table.rb
parentaa2797ee41a531ac05b4a92ad713a4b9f3c9f756 (diff)
* lib/csv/csv.rb: Added support for Encoding::default_internal.
* lib/csv/csv.rb: Switched to new Hash syntax. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19751 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/csv/tc_table.rb')
-rw-r--r--test/csv/tc_table.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/csv/tc_table.rb b/test/csv/tc_table.rb
index 1e572d979c..3c3cb1c155 100644
--- a/test/csv/tc_table.rb
+++ b/test/csv/tc_table.rb
@@ -252,7 +252,7 @@ class TestCSVTable < Test::Unit::TestCase
# with options
assert_equal( csv.gsub(",", "|").gsub("\n", "\r\n"),
- @table.to_csv(:col_sep => "|", :row_sep => "\r\n") )
+ @table.to_csv(col_sep: "|", row_sep: "\r\n") )
# with headers
assert_equal(csv, @header_table.to_csv)