summaryrefslogtreecommitdiff
path: root/test/drb
diff options
context:
space:
mode:
authorseki <seki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-02-19 10:00:33 +0000
committerseki <seki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-02-19 10:00:33 +0000
commit5c293c10e105a9a9e2a1515e362a937d15a18474 (patch)
tree2aee66dff0b4ed1a659590770bb6e4eaadbcce47 /test/drb
parent614b7a2d32da5a82843af3c3459d317899ae1950 (diff)
(DRbObject#respond_to?) take two arguments. [ruby-dev:25722]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8002 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/drb')
-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 b7c2590..432c7a7 100644
--- a/test/drb/drbtest.rb
+++ b/test/drb/drbtest.rb
@@ -98,6 +98,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