Project

General

Profile

« Previous | Next » 

Revision 3dd98b24

Added by duerst (Martin Dürst) about 9 years ago

  • string.c: Raise ArgumentError when invalid string is detected in
    case mapping methods.
  • enc/unicode.c: Check for invalid string and signal with negative
    length value.
  • test/ruby/enc/test_case_mapping.rb: Add tests for above.
  • test/ruby/test_m17n_comb.rb: Add a message to clarify test failure.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55253 b2dd03c8-39d4-4d8f-98ff-823fe69b080e