summaryrefslogtreecommitdiff
path: root/test/csv/test_csv_writing.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-12-25 06:58:58 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-12-25 06:58:58 +0000
commitd05217109fb5e909bbd7849bcc799b6404c7c8b0 (patch)
tree59c6e741e5c94660ea5860d745fffec33274121b /test/csv/test_csv_writing.rb
parent47a1cd1291f1f52cc8d36cb533e0d653d128930a (diff)
* lib/csv.rb, test/csv: should not assume $, invariant.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30353 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/csv/test_csv_writing.rb')
-rwxr-xr-x[-rw-r--r--]test/csv/test_csv_writing.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/csv/test_csv_writing.rb b/test/csv/test_csv_writing.rb
index eacba49613f..73a27d2b966 100644..100755
--- a/test/csv/test_csv_writing.rb
+++ b/test/csv/test_csv_writing.rb
@@ -7,11 +7,9 @@
# Copyright 2005 James Edward Gray II. You can redistribute or modify this code
# under the terms of Ruby's license.
-require "test/unit"
+require_relative "base"
-require "csv"
-
-class TestCSVWriting < Test::Unit::TestCase
+class TestCSV::Writing < TestCSV
def test_writing
[ ["\t", ["\t"]],
["foo,\"\"\"\"\"\",baz", ["foo", "\"\"", "baz"]],
@@ -94,4 +92,6 @@ class TestCSVWriting < Test::Unit::TestCase
CSV.generate_line( [1, "b", nil, %Q{already "quoted"}],
force_quotes: true ) )
end
+
+ with_diffrent_ofs
end