summaryrefslogtreecommitdiff
path: root/test/ruby/test_object.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/ruby/test_object.rb')
-rw-r--r--test/ruby/test_object.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ruby/test_object.rb b/test/ruby/test_object.rb
index 63c1d32bef..2935885431 100644
--- a/test/ruby/test_object.rb
+++ b/test/ruby/test_object.rb
@@ -336,14 +336,14 @@ class TestObject < Test::Unit::TestCase
def test_respond_to_missing
c = Class.new do
- def respond_to_missing?(id, priv=false)
+ def respond_to_missing?(id, priv)
if id == :foobar
true
else
false
end
end
- def method_missing(id,*args)
+ def method_missing(id, *args)
if id == :foobar
return [:foo, *args]
else