aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-05-29 00:52:41 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-05-29 00:52:41 +0000
commit44ae75a12746b05ebef5635a5142d7fb65d1513c (patch)
treed3457cd0ab3d19c8b2beca33e5383150a0f7288d /test
parentde7a47d1aac264be47583353739cc1a3dc138d91 (diff)
downloadruby-44ae75a12746b05ebef5635a5142d7fb65d1513c.tar.gz
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
Diffstat (limited to 'test')
-rw-r--r--test/ruby/test_gc.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/ruby/test_gc.rb b/test/ruby/test_gc.rb
index 782d8fde3d..f32a381239 100644
--- a/test/ruby/test_gc.rb
+++ b/test/ruby/test_gc.rb
@@ -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