aboutsummaryrefslogtreecommitdiffstats
path: root/test/csv/base.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/csv/base.rb')
-rw-r--r--test/csv/base.rb20
1 files changed, 20 insertions, 0 deletions
diff --git a/test/csv/base.rb b/test/csv/base.rb
new file mode 100644
index 0000000000..c0f5bd990b
--- /dev/null
+++ b/test/csv/base.rb
@@ -0,0 +1,20 @@
+require "test/unit"
+
+require "csv"
+
+class TestCSV < Test::Unit::TestCase
+ module DifferentOFS
+ def setup
+ super
+ @ofs, $, = $,, "-"
+ end
+ def teardown
+ $, = @ofs
+ super
+ end
+ end
+
+ def self.with_diffrent_ofs
+ Class.new(self).class_eval {include DifferentOFS}
+ end
+end