diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-10-04 02:44:55 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-10-04 02:44:55 +0000 |
commit | 356c7cbfb64bc3b7bf5c49c0537065f6ac8bb1c2 (patch) | |
tree | 113b39c97183846cdbe1cddd58db42d12c793bce /test | |
parent | f65cdf797f514a7b7897ae5e5dc8aeafa42df96b (diff) |
* gc.c (rb_gc_set_params): ruby_verbose can be Qnil, so use RTEST.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33395 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r-- | test/ruby/test_gc.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/ruby/test_gc.rb b/test/ruby/test_gc.rb index a0bc7f8b7f..bcc490626d 100644 --- a/test/ruby/test_gc.rb +++ b/test/ruby/test_gc.rb @@ -93,6 +93,8 @@ class TestGc < Test::Unit::TestCase "RUBY_HEAP_MIN_SLOTS" => "100000" } assert_in_out_err([env, "-e", "exit"], "", [], [], "[ruby-core:39795]") + assert_in_out_err([env, "-W0", "-e", "exit"], "", [], [], "[ruby-core:39795]") + assert_in_out_err([env, "-W1", "-e", "exit"], "", [], [], "[ruby-core:39795]") assert_in_out_err([env, "-w", "-e", "exit"], "", [], /heap_min_slots=100000/, "[ruby-core:39795]") end end |