summaryrefslogtreecommitdiff
path: root/test/ruby/test_method.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/ruby/test_method.rb')
-rw-r--r--test/ruby/test_method.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/ruby/test_method.rb b/test/ruby/test_method.rb
index 2f3ba3ebd6..e5177d6217 100644
--- a/test/ruby/test_method.rb
+++ b/test/ruby/test_method.rb
@@ -420,6 +420,8 @@ class TestMethod < Test::Unit::TestCase
end
def test
a = dup
+ a.extend(Module.new)
+ a.extend(Module.new)
class << a
protected :meth
end