Bug #10236 ยป 0001-test-ext-string-test_modify_expand.rb-increase-limit.patch
test/-ext-/string/test_modify_expand.rb | ||
---|---|---|
class Test_StringModifyExpand < Test::Unit::TestCase
|
||
def test_modify_expand_memory_leak
|
||
assert_no_memory_leak(["-r-test-/string/string"], <<-PRE, <<-CMD, "rb_str_modify_expand()")
|
||
assert_no_memory_leak(["-r-test-/string/string"],
|
||
<<-PRE, <<-CMD, "rb_str_modify_expand()", limit: 2.5)
|
||
s=Bug::String.new
|
||
PRE
|
||
size = $initial_size
|
||
-
|