diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-12-09 03:12:25 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-12-09 03:12:25 +0000 |
commit | 45fa4a4b634515ff9c7f1e8008990f0e7e8c46dc (patch) | |
tree | bad6a328f65bf6e7d1e7c634f7d893dab7c7d262 /bootstraptest | |
parent | 0076f3b3f825b39e4629b29c6525864f68d9a855 (diff) |
* string.c (tr_find): returns true if no characters to be removed is
specified.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14151 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bootstraptest')
-rw-r--r-- | bootstraptest/test_knownbug.rb | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/bootstraptest/test_knownbug.rb b/bootstraptest/test_knownbug.rb index a9cb8eb1a5..d2e36cfcd1 100644 --- a/bootstraptest/test_knownbug.rb +++ b/bootstraptest/test_knownbug.rb @@ -156,9 +156,4 @@ assert_equal 'true', %q{ "\xa3\xb0".force_encoding("euc-jp"), "\xa3\xb2\xa3\xb3\xa3\xb4".force_encoding("euc-jp") ] -} - -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") -} +}, '[ruby-dev:32452]' |