summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorKoichi Sasada <ko1@atdot.net>2020-10-14 16:09:33 +0900
committerKoichi Sasada <ko1@atdot.net>2020-10-14 23:15:21 +0900
commit278450de803c59137fff69c4db03cd40c5b5d08a (patch)
tree72d93586be90df21508721f81f1c771a9a510cd3 /test
parentfad97f1f96caf11005a5858a29d32c66203913e8 (diff)
ruby_vm_global_method_state is no longer needed.
Now ruby_vm_global_method_state is not used so let's remove it.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/3657
Diffstat (limited to 'test')
-rw-r--r--test/ruby/test_rubyvm.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ruby/test_rubyvm.rb b/test/ruby/test_rubyvm.rb
index 7673d8dfbe..67d46e27ad 100644
--- a/test/ruby/test_rubyvm.rb
+++ b/test/ruby/test_rubyvm.rb
@@ -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