summaryrefslogtreecommitdiff
path: root/test/csv
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-12-26 02:15:55 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-12-26 02:15:55 +0000
commit6d8c13bc61c465ab400a12e0a44e9de52f117b7b (patch)
treeb8e52adb2654f14838ea04d8f4e3fa774d4e7b30 /test/csv
parentdd5ad24735bebabb7e20df7b408c33b34f784b8f (diff)
* test/with_different_ofs.rb (DifferentOFS): should not affect
original classes. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30380 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/csv')
-rwxr-xr-xtest/csv/test_csv_parsing.rb2
-rwxr-xr-xtest/csv/test_csv_writing.rb2
-rwxr-xr-xtest/csv/test_data_converters.rb2
-rwxr-xr-xtest/csv/test_encodings.rb2
-rwxr-xr-xtest/csv/test_features.rb2
-rwxr-xr-xtest/csv/test_headers.rb2
-rwxr-xr-xtest/csv/test_interface.rb2
-rwxr-xr-xtest/csv/test_row.rb2
-rwxr-xr-xtest/csv/test_serialization.rb2
-rwxr-xr-xtest/csv/test_table.rb2
10 files changed, 10 insertions, 10 deletions
diff --git a/test/csv/test_csv_parsing.rb b/test/csv/test_csv_parsing.rb
index 3da9df7..55d1bee 100755
--- a/test/csv/test_csv_parsing.rb
+++ b/test/csv/test_csv_parsing.rb
@@ -18,7 +18,7 @@ require_relative "base"
# separator <tt>$/</tt>.
#
class TestCSV::Parsing < TestCSV
- include DifferentOFS
+ extend DifferentOFS
BIG_DATA = "123456789\n" * 1024
diff --git a/test/csv/test_csv_writing.rb b/test/csv/test_csv_writing.rb
index 2c98abb..704c1d7 100755
--- a/test/csv/test_csv_writing.rb
+++ b/test/csv/test_csv_writing.rb
@@ -10,7 +10,7 @@
require_relative "base"
class TestCSV::Writing < TestCSV
- include DifferentOFS
+ extend DifferentOFS
def test_writing
[ ["\t", ["\t"]],
diff --git a/test/csv/test_data_converters.rb b/test/csv/test_data_converters.rb
index e878c28..3351620 100755
--- a/test/csv/test_data_converters.rb
+++ b/test/csv/test_data_converters.rb
@@ -10,7 +10,7 @@
require_relative "base"
class TestCSV::DataConverters < TestCSV
- include DifferentOFS
+ extend DifferentOFS
def setup
super
diff --git a/test/csv/test_encodings.rb b/test/csv/test_encodings.rb
index e125f3b..0067d6f 100755
--- a/test/csv/test_encodings.rb
+++ b/test/csv/test_encodings.rb
@@ -10,7 +10,7 @@
require_relative "base"
class TestCSV::Encodings < TestCSV
- include DifferentOFS
+ extend DifferentOFS
def setup
super
diff --git a/test/csv/test_features.rb b/test/csv/test_features.rb
index 70ba39d..0da557e 100755
--- a/test/csv/test_features.rb
+++ b/test/csv/test_features.rb
@@ -12,7 +12,7 @@ require "zlib"
require_relative "base"
class TestCSV::Features < TestCSV
- include DifferentOFS
+ extend DifferentOFS
TEST_CASES = [ [%Q{a,b}, ["a", "b"]],
[%Q{a,"""b"""}, ["a", "\"b\""]],
diff --git a/test/csv/test_headers.rb b/test/csv/test_headers.rb
index 96ff485..00ae82a 100755
--- a/test/csv/test_headers.rb
+++ b/test/csv/test_headers.rb
@@ -10,7 +10,7 @@
require_relative "base"
class TestCSV::Headers < TestCSV
- include DifferentOFS
+ extend DifferentOFS
def setup
super
diff --git a/test/csv/test_interface.rb b/test/csv/test_interface.rb
index f939d9e..8343146 100755
--- a/test/csv/test_interface.rb
+++ b/test/csv/test_interface.rb
@@ -10,7 +10,7 @@
require_relative "base"
class TestCSV::Interface < TestCSV
- include DifferentOFS
+ extend DifferentOFS
def setup
super
diff --git a/test/csv/test_row.rb b/test/csv/test_row.rb
index 38383d5..345b7a2 100755
--- a/test/csv/test_row.rb
+++ b/test/csv/test_row.rb
@@ -10,7 +10,7 @@
require_relative "base"
class TestCSV::Row < TestCSV
- include DifferentOFS
+ extend DifferentOFS
def setup
super
diff --git a/test/csv/test_serialization.rb b/test/csv/test_serialization.rb
index 9fafe02..0adb972 100755
--- a/test/csv/test_serialization.rb
+++ b/test/csv/test_serialization.rb
@@ -25,7 +25,7 @@ class Hash
end
class TestCSV::Serialization < TestCSV
- include DifferentOFS
+ extend DifferentOFS
### Classes Used to Test Serialization ###
diff --git a/test/csv/test_table.rb b/test/csv/test_table.rb
index 731d526..d045b9a 100755
--- a/test/csv/test_table.rb
+++ b/test/csv/test_table.rb
@@ -10,7 +10,7 @@
require_relative "base"
class TestCSV::Table < TestCSV
- include DifferentOFS
+ extend DifferentOFS
def setup
super