From dfa892af437d7c6e01406134a5baded91b4db541 Mon Sep 17 00:00:00 2001 From: ko1 Date: Mon, 16 Dec 2013 04:12:48 +0000 Subject: * 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 --- test/ruby/test_gc.rb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'test/ruby') 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 -- cgit v1.2.3