diff options
author | nagachika <nagachika@ruby-lang.org> | 2023-03-21 13:59:41 +0900 |
---|---|---|
committer | nagachika <nagachika@ruby-lang.org> | 2023-03-21 13:59:41 +0900 |
commit | d28464c4ae968a180e80e3f9261bcfec08ae7702 (patch) | |
tree | cbfbc6755f7c853fab9c91026a2f5e32faa5544b /test | |
parent | 1d24a931c458c93463da1d5885f33edef3677cc2 (diff) |
merge revision(s) 0bb07e5ba40cdc45d55743dd1ebaadd7e7363e7f: [Backport #19284]
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)
---
test/ruby/test_gc.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Diffstat (limited to 'test')
-rw-r--r-- | test/ruby/test_gc.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_gc.rb b/test/ruby/test_gc.rb index c28f450ef1..fa81bcb1ad 100644 --- a/test/ruby/test_gc.rb +++ b/test/ruby/test_gc.rb @@ -216,7 +216,7 @@ class TestGc < Test::Unit::TestCase env = { "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 = { "RUBY_GC_MALLOC_LIMIT" => "60000000", |