summaryrefslogtreecommitdiffstats
path: root/test/ruby
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
commit1a681083d35481463dbf61d34d79cb33315184f6 (patch)
treebcb153ae2e78cd831461e08b4a599f072669f7d3 /test/ruby
parentbc486a224e8c8adece10877b559dd5e4e8c8312b (diff)
downloadruby-1a681083d35481463dbf61d34d79cb33315184f6.tar.gz
ruby-1a681083d35481463dbf61d34d79cb33315184f6.tar.xz
ruby-1a681083d35481463dbf61d34d79cb33315184f6.zip
* test/ruby/test_object.rb (test_respond_to_missing):
respond_to_missing? should accept two arguments. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25363 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby')
-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 75ec959ad..3980b5d41 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