diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-12-12 06:17:23 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-12-12 06:17:23 +0000 |
commit | 994bb6d36d8717f7566fd6e953d629b6e2c30926 (patch) | |
tree | 9725415ea5949a9fddc74bb3da0f83d1fbf669de /doc | |
parent | 1149533821a0fe689c038deba268a81dd20f91d5 (diff) | |
download | ruby-994bb6d36d8717f7566fd6e953d629b6e2c30926.tar.gz |
test_weakref.rb: use single level WeakRef
* test/test_weakref.rb (make_weakref): return single level
WeakRef, instead of multiple level, since the second level
object may be still alive even after the final object get
finalized, in test_recycled.
* test/test_weakref.rb (test_ref): move living object assertions
from test_recycled.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44146 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions