Fix test when Ruby is verbose
The test added in 90a80eb0 fails if Ruby is verbose, it outputs the following line to stderr: RUBY_GC_HEAP_INIT_SLOTS=100 (default value: 10000)
This commit is contained in:
parent
90a80eb076
commit
0bb07e5ba4
@ -307,7 +307,7 @@ class TestGc < Test::Unit::TestCase
|
|||||||
env = {
|
env = {
|
||||||
"RUBY_GC_HEAP_INIT_SLOTS" => "100"
|
"RUBY_GC_HEAP_INIT_SLOTS" => "100"
|
||||||
}
|
}
|
||||||
assert_in_out_err([env, "-e", "exit"], "", [], [], "[Bug #19284]")
|
assert_in_out_err([env, "-W0", "-e", "exit"], "", [], [], "[Bug #19284]")
|
||||||
|
|
||||||
env = {
|
env = {
|
||||||
"RUBY_GC_MALLOC_LIMIT" => "60000000",
|
"RUBY_GC_MALLOC_LIMIT" => "60000000",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user