diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-12-09 02:29:24 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-12-09 02:29:24 +0000 |
commit | 54c146d2c3d8a9a5e3d4bbd8b5fd61e17ad45819 (patch) | |
tree | d2b105360fbe0b0ee6f508772d76510471e3f63e /bootstraptest | |
parent | 221e6de720042585265cb38c05701663829ac40d (diff) | |
download | ruby-54c146d2c3d8a9a5e3d4bbd8b5fd61e17ad45819.tar.gz |
* string.c (tr_trans): get rid of segfaults when has mulitbytes but
source sets have no mulitbytes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14148 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bootstraptest')
-rw-r--r-- | bootstraptest/test_knownbug.rb | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/bootstraptest/test_knownbug.rb b/bootstraptest/test_knownbug.rb index a5c712bcdf..a9cb8eb1a5 100644 --- a/bootstraptest/test_knownbug.rb +++ b/bootstraptest/test_knownbug.rb @@ -162,11 +162,3 @@ assert_equal 'true', %q{ s = "\xa3\xb0\xa3\xb1\xa3\xb1\xa3\xb3\xa3\xb4".force_encoding("euc-jp") s.squeeze == "\xa3\xb0\xa3\xb1\xa3\xb3\xa3\xb4".force_encoding("euc-jp") } - -assert_normal_exit %q{ - "\x81\x41".force_encoding("shift_jis").tr("A", "B") -} - -assert_normal_exit %q{ - "\x81\x41".force_encoding("shift_jis").tr_s("A", "B") -} |