summaryrefslogtreecommitdiff
path: root/test/iconv/test_option.rb
diff options
context:
space:
mode:
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 f879dbaf66..a1f3457c31 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")
-TestIconv.testcase(:Option) do
+class TestIconv::Option < TestIconv
def test_ignore_option
iconv = Iconv.new('SHIFT_JIS', 'EUC-JP//ignore')
str = iconv.iconv(EUCJ_STR)
@@ -28,4 +28,4 @@ TestIconv.testcase(:Option) do
assert_equal(SJIS_STR, str)
iconv.close
end
-end
+end if defined?(TestIconv)