зеркало из https://github.com/github/ruby.git
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:
Родитель
686b38f83e
Коммит
98abe4a0be
|
@ -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",
|
||||||
|
|
Загрузка…
Ссылка в новой задаче