diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-08-04 11:08:28 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-08-04 11:08:28 +0000 |
commit | 5f13d888cf0aece7c1bb13b72773f66a4b9cebff (patch) | |
tree | 3f6f83022e0f7d352507d7691964d2d47d0bf3f3 /test/-ext- | |
parent | 36044b07730033911580501cbe1a060e820e927e (diff) |
* string.c (rb_str_resize): reverted r28851. rb_str_resize cannot
work before the length is set. [ruby-core:31615]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28857 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/-ext-')
-rw-r--r-- | test/-ext-/test_bug-3652.rb | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/test/-ext-/test_bug-3652.rb b/test/-ext-/test_bug-3652.rb deleted file mode 100644 index 0e4d658081..0000000000 --- a/test/-ext-/test_bug-3652.rb +++ /dev/null @@ -1,12 +0,0 @@ -require 'test/unit' -require '-test-/bug-3652/bug' - -class Test_BUG_3652 < Test::Unit::TestCase - def test_block_call_id - bug3652 = '[ruby-core:31615]' - s = "123456789012345678901234" - assert_equal(s, Bug.str_resize(127, s), bug3652) - s = "123456789" - assert_equal(s, Bug.str_resize(127, s), bug3652) - end -end |