1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
Commit graph

7 commits

Author SHA1 Message Date
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
naruse
0cae739f2d * test/iconv/test_option.rb (test_ignore_option): skip if iconv
doesn't have transliterate.

* test/iconv/test_option.rb (test_translit_option): ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18745 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-08-20 23:00:01 +00:00
naruse
067f704f64 * test/iconv/test_option.rb (test_ignore_option): skip if iconv
doesn't have transliterate.

* test/iconv/test_option.rb (test_translit_option): ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18667 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-08-16 23:40:46 +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
nobu
28c5fe3c6c * test/iconv/test_simple.rb: added.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16823 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-05 01:58:49 +00:00