diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-12-16 04:12:48 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-12-16 04:12:48 +0000 |
commit | dfa892af437d7c6e01406134a5baded91b4db541 (patch) | |
tree | 39856affe8ca9d8a96cca8eabc3961802cd3f1ba /test/ruby/test_gc.rb | |
parent | d87de0851216cf0a104748b8e139b73f59758c60 (diff) | |
download | ruby-dfa892af437d7c6e01406134a5baded91b4db541.tar.gz |
* gc.c: introduce GC.verify_internal_consistency method to verify GC
internal data structure.
Now this method only checks geneartion (old/young) consistency.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44228 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_gc.rb')
-rw-r--r-- | test/ruby/test_gc.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/ruby/test_gc.rb b/test/ruby/test_gc.rb index 18d4a43358..eb8d019679 100644 --- a/test/ruby/test_gc.rb +++ b/test/ruby/test_gc.rb @@ -278,4 +278,8 @@ class TestGc < Test::Unit::TestCase end; end end + + def test_verify_internal_consistency + assert_nil(GC.verify_internal_consistency) + end end |