Project

General

Profile

Bug #9240

TestModule Test No Longer Valid

Added by Simeon Willbanks almost 3 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
ruby -v:
ruby 2.1.0dev (2013-12-10 trunk 44106) [x86_64-darwin11.0]
[ruby-core:59035]

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!

Associated revisions

Revision 49102
Added by Hiroshi SHIBATA almost 2 years ago

  • test/ruby/test_module.rb: Refactor invalid testcase. [fix GH-472][Bug #9240]

Revision 49102
Added by Hiroshi SHIBATA almost 2 years ago

  • test/ruby/test_module.rb: Refactor invalid testcase. [fix GH-472][Bug #9240]

History

#1 [ruby-core:60253] Updated by Hiroshi SHIBATA almost 3 years ago

  • Target version changed from 2.1.0 to current: 2.2.0

#2 [ruby-core:67293] Updated by Hiroshi SHIBATA almost 2 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

Applied in changeset r49102.


  • test/ruby/test_module.rb: Refactor invalid testcase. [fix GH-472][Bug #9240]

Also available in: Atom PDF