Project

General

Profile

« Previous | Next » 

Revision 8dc8bba4

Added by nagachika (Tomoyuki Chikanaga) over 7 years ago

merge revision(s) 54142,55500: [Backport #12353]

    assertions.rb: fix result of assert_nothing_raised

    * test/lib/test/unit/assertions.rb (assert_nothing_raised): do not

discard the result of the given block.
* vm_method.c (vm_respond_to): try method_missing if respond_to?
is undefined, as if it is the default definition.
[ruby-core:75377] [Bug #12353]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@55869 b2dd03c8-39d4-4d8f-98ff-823fe69b080e