aboutsummaryrefslogtreecommitdiffstats
path: root/test/csv
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-09-24 07:48:51 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-09-24 07:48:51 +0000
commit84a5622646dd12550e57b16e46f272ab7d49a766 (patch)
tree9e83b12a047b15d3e17be454e55ead38883d2e78 /test/csv
parentf894022ba5764ebb0e325b45be5ed0217c99c4f7 (diff)
downloadruby-84a5622646dd12550e57b16e46f272ab7d49a766.tar.gz
test_encodings.rb: remove BOM encodings
* test/csv/test_encodings.rb (TestCSV#each_encoding): encodings with BOM are external use only. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43033 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/csv')
-rwxr-xr-xtest/csv/test_encodings.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/csv/test_encodings.rb b/test/csv/test_encodings.rb
index 85ed21a9d6..872914e807 100755
--- a/test/csv/test_encodings.rb
+++ b/test/csv/test_encodings.rb
@@ -326,6 +326,7 @@ class TestCSV::Encodings < TestCSV
def each_encoding
Encoding.list.each do |encoding|
next if encoding.dummy? # skip "dummy" encodings
+ next if encoding == Encoding::UTF_32 or encoding == Encoding::UTF_16
yield encoding
end
end