aboutsummaryrefslogtreecommitdiffstats
path: root/test/ruby/test_weakmap.rb
Commit message (Collapse)AuthorAgeFilesLines
* gc.c: check arguments firstnobu2013-12-101-0/+14
| | | | | | | * gc.c (wmap_aset): check if both arguments are able to finalize before setting finalizers. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44108 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* gc.c: fix WeakMap#inspectnobu2013-12-101-0/+8
| | | | | | * gc.c (wmap_inspect_i): fix key/value order. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44107 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* gc.c: ObjectSpace::WeakMap#sizenobu2013-12-091-0/+14
| | | | | | * gc.c (wmap_size): add ObjectSpace::WeakMap#size and #length. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44093 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test_weakmap.rb: addnobu2013-12-091-0/+96
* test/ruby/test_weakmap.rb: test for ObjectSpace::WeakMap. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44092 b2dd03c8-39d4-4d8f-98ff-823fe69b080e