summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorduerst <duerst@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-11-11 05:42:49 +0000
committerduerst <duerst@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-11-11 05:42:49 +0000
commit0d93d8125e0ae23599ea6d562d70d235171afc9c (patch)
tree7c7539f3ce139f8c473633ddb2a1c6529a753187 /test
parent831e80438840a6665f99a7e27e7c978bd035a306 (diff)
* test/ruby/test_transcode.rb: unnecessary setup method
(setup_really_needed?) removed git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20179 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r--test/ruby/test_transcode.rb15
1 files changed, 0 insertions, 15 deletions
diff --git a/test/ruby/test_transcode.rb b/test/ruby/test_transcode.rb
index 6e2bc6ce63..1d16d98422 100644
--- a/test/ruby/test_transcode.rb
+++ b/test/ruby/test_transcode.rb
@@ -3,21 +3,6 @@
require 'test/unit'
class TestTranscode < Test::Unit::TestCase
- def setup_really_needed? # trick to create all the necessary encodings
- all_encodings = [ 'ISO-8859-1', 'ISO-8859-2',
- 'ISO-8859-3', 'ISO-8859-4',
- 'ISO-8859-5', 'ISO-8859-6',
- 'ISO-8859-7', 'ISO-8859-8',
- 'ISO-8859-9', 'ISO-8859-10',
- 'ISO-8859-11', 'ISO-8859-13',
- 'ISO-8859-14', 'ISO-8859-15',
- 'UTF-16BE'
- ]
- all_encodings.each do |enc|
- 'abc'.encode(enc, 'UTF-8')
- end
- end
-
def test_errors
assert_raise(Encoding::ConverterNotFoundError) { 'abc'.encode('foo', 'bar') }
assert_raise(Encoding::ConverterNotFoundError) { 'abc'.encode!('foo', 'bar') }