diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2021-02-28 13:56:46 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2021-02-28 13:56:46 +0000 |
commit | 5c74f95fe27c646d3c38e84b6fe949fe9dc4fae4 (patch) | |
tree | 4829495d850195d46e213fcd56c6fdc5316f1c1c /test | |
parent | b64876ae559b05949c6857fb3d76822c2f7c4df2 (diff) |
merge revision(s) 74b19e330adbdae2d8e53b58f1a2a7b725e69c8d: [Backport #16268]
fix imemo entry description.
* ext/objspace/objspace.c (count_imemo_objects): `imemo_type_ids`
should be match with `enum imemo_type` in internal.h and this
patch fix mismatch.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67058 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
---
ext/objspace/objspace.c | 5 +++--
test/objspace/test_objspace.rb | 2 ++
2 files changed, 5 insertions(+), 2 deletions(-)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_6@67895 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r-- | test/objspace/test_objspace.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/objspace/test_objspace.rb b/test/objspace/test_objspace.rb index 947170203a..f139b90efe 100644 --- a/test/objspace/test_objspace.rb +++ b/test/objspace/test_objspace.rb @@ -98,6 +98,8 @@ class TestObjSpace < Test::Unit::TestCase res = ObjectSpace.count_imemo_objects assert_not_empty(res) assert_not_nil(res[:imemo_cref]) + assert_not_empty res.inspect + arg = {} res = ObjectSpace.count_imemo_objects(arg) assert_not_empty(res) |