summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorseki <seki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-02-19 09:14:55 +0000
committerseki <seki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-02-19 09:14:55 +0000
commitcadfea8999e723b672c69facf8d8c5a7886e3760 (patch)
tree180d1e150552218018708afa5b247c85949d55bc /test
parent70a7a7271d22fefdcdf8bda832881ec9ce92569d (diff)
(DRbObject#respond_to?) take two arguments. [ruby-dev:25722]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8001 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r--test/drb/drbtest.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/drb/drbtest.rb b/test/drb/drbtest.rb
index b0ba762..6c4cfe6 100644
--- a/test/drb/drbtest.rb
+++ b/test/drb/drbtest.rb
@@ -94,6 +94,11 @@ module DRbCore
assert_equal(6, @there.sample(onecky, 1, 2))
ary = @there.to_a
assert_kind_of(DRb::DRbObject, ary)
+
+ assert(@there.respond_to?(:to_a, true))
+ assert(@there.respond_to?(:eval, true))
+ assert(! @there.respond_to?(:eval, false))
+ assert(! @there.respond_to?(:eval))
end
def test_01_02_loop