mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
ruby_vm_global_method_state is no longer needed.
Now ruby_vm_global_method_state is not used so let's remove it.
This commit is contained in:
parent
fad97f1f96
commit
278450de80
Notes:
git
2020-10-14 23:15:49 +09:00
3 changed files with 4 additions and 11 deletions
|
@ -4,11 +4,11 @@ require 'test/unit'
|
|||
class TestRubyVM < Test::Unit::TestCase
|
||||
def test_stat
|
||||
assert_kind_of Hash, RubyVM.stat
|
||||
assert_kind_of Integer, RubyVM.stat[:global_method_state]
|
||||
assert_kind_of Integer, RubyVM.stat[:global_constant_state]
|
||||
|
||||
RubyVM.stat(stat = {})
|
||||
assert_not_empty stat
|
||||
assert_equal stat[:global_method_state], RubyVM.stat(:global_method_state)
|
||||
assert_equal stat[:global_constant_state], RubyVM.stat(:global_constant_state)
|
||||
end
|
||||
|
||||
def test_stat_unknown
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue