nobu
5225f2c143
* ext/iconv/iconv.c (strip_glibc_option, map_charset): check if
...
encoding is a string. based on the patch by Hiroshi Moriyama at
[ruby-dev:36811].
* test/iconv/test_basic.rb (test_invalid_arguments): added tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19866 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-21 02:34:07 +00:00
nobu
76fc936432
* test/iconv/utils.rb (default_test): override not to croak.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16859 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-06 09:25:46 +00:00
nobu
7e9e152526
* 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
2008-06-05 05:35:00 +00:00
nobu
b35b33c751
* test/iconv/test_{basic,option}.rb, test/iconv/utils.rb: added.
...
* test/iconv/test_partial.rb: renamed from test_simple.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16833 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-05 04:58:41 +00:00