summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-10-16 03:07:21 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-10-16 03:07:21 +0000
commit585f8fcf0d514d381f9f98cf4d1db5d16d5d1aae (patch)
treebcb153ae2e78cd831461e08b4a599f072669f7d3 /test
parentee2512496cedaca3207d0ab0e7b12e81ac0ff27b (diff)
* test/ruby/test_object.rb (test_respond_to_missing):
respond_to_missing? should accept two arguments. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25363 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r--test/ruby/test_object.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_object.rb b/test/ruby/test_object.rb
index 75ec959ad5..3980b5d41c 100644
--- a/test/ruby/test_object.rb
+++ b/test/ruby/test_object.rb
@@ -326,7 +326,7 @@ class TestObject < Test::Unit::TestCase
def test_respond_to_missing
c = Class.new do
- def respond_to_missing?(id)
+ def respond_to_missing?(id, priv=false)
if id == :foobar
true
else