Actions
Bug #9240
closedTestModule Test No Longer Valid
Description
TestModule#test_include_module_with_constants_invalidates_method_cache is no longer valid.
Test: https://github.com/ruby/ruby/blob/trunk/test/ruby/test_module.rb#L1783-L1801
The Changelog states, "...this means inclusions of modules containing constants no longer globally invalidate the method cache."
Changelog: https://github.com/ruby/ruby/blob/trunk/ChangeLog#L2830-L2832
I've refactored the test and used the new RubyVM.stat method.
https://github.com/ruby/ruby/pull/472.patch
Any input is appreciated.
Thanks!
Actions
Like0
Like0Like0