aboutsummaryrefslogtreecommitdiffstats
path: root/test/iconv/test_option.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-06-05 05:35:00 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-06-05 05:35:00 +0000
commit7e9e152526d3e5e2ee187d532f5e0ba9f4e63aa3 (patch)
tree06ba77d4ed155426b46ed6c9177159c1552ea3d9 /test/iconv/test_option.rb
parent5d75d9bf3d3476a92d54d63b5080a59e615fdd9b (diff)
downloadruby-7e9e152526d3e5e2ee187d532f5e0ba9f4e63aa3.tar.gz
* test/iconv/utils.rb (TestIconv.testcase): make test cases conditionally.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16835 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/iconv/test_option.rb')
-rw-r--r--test/iconv/test_option.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/iconv/test_option.rb b/test/iconv/test_option.rb
index 20c7219df3..f879dbaf66 100644
--- a/test/iconv/test_option.rb
+++ b/test/iconv/test_option.rb
@@ -1,6 +1,6 @@
require File.join(File.dirname(__FILE__), "utils.rb")
-class TestIconv
+TestIconv.testcase(:Option) do
def test_ignore_option
iconv = Iconv.new('SHIFT_JIS', 'EUC-JP//ignore')
str = iconv.iconv(EUCJ_STR)
@@ -28,4 +28,4 @@ class TestIconv
assert_equal(SJIS_STR, str)
iconv.close
end
-end if defined?(::Iconv)
+end