diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-06-05 05:35:00 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-06-05 05:35:00 +0000 |
commit | 7e9e152526d3e5e2ee187d532f5e0ba9f4e63aa3 (patch) | |
tree | 06ba77d4ed155426b46ed6c9177159c1552ea3d9 /test/iconv/test_partial.rb | |
parent | 5d75d9bf3d3476a92d54d63b5080a59e615fdd9b (diff) | |
download | ruby-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_partial.rb')
-rw-r--r-- | test/iconv/test_partial.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/iconv/test_partial.rb b/test/iconv/test_partial.rb index fb31c9e3e8..8e973b6df9 100644 --- a/test/iconv/test_partial.rb +++ b/test/iconv/test_partial.rb @@ -1,6 +1,6 @@ require File.join(File.dirname(__FILE__), "utils.rb") -class TestIconv +TestIconv.testcase(:Partial) do def test_partial_ascii c = Iconv.open(ASCII, ASCII) ref = '[ruby-core:17092]' @@ -38,4 +38,4 @@ class TestIconv ensure c.close end -end if defined?(::Iconv) +end |