diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/ruby/test_gc.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/ruby/test_gc.rb b/test/ruby/test_gc.rb index da4a0b585d..ce7c5c3927 100644 --- a/test/ruby/test_gc.rb +++ b/test/ruby/test_gc.rb @@ -212,4 +212,9 @@ class TestGc < Test::Unit::TestCase assert base_length < GC.stat[:heap_eden_page_length] eom end + + def test_gc_internals + assert_not_nil GC::INTERNAL_CONSTANTS[:HEAP_OBJ_LIMIT] + assert_not_nil GC::INTERNAL_CONSTANTS[:RVALUE_SIZE] + end end |