mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Suppress warning: method redefined.
The warning cause test_singleton_method_added to fail. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35832 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
de7a47d1aa
commit
44ae75a127
1 changed files with 1 additions and 0 deletions
|
@ -81,6 +81,7 @@ class TestGc < Test::Unit::TestCase
|
|||
def test_singleton_method_added
|
||||
assert_in_out_err(%w[--disable-gems], <<-EOS, [], [], "[ruby-dev:44436]")
|
||||
class BasicObject
|
||||
undef singleton_method_added
|
||||
def singleton_method_added(mid)
|
||||
raise
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue