diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/drb/test_drb.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/drb/test_drb.rb b/test/drb/test_drb.rb index a3c259b7a5..2aa142087e 100644 --- a/test/drb/test_drb.rb +++ b/test/drb/test_drb.rb @@ -44,6 +44,11 @@ class TestDRbYield < Test::Unit::TestCase @there.echo_yield_2(3, nil) {|one, two|} assert_equal(3, one) assert_equal(nil, two) + + one = two = nil + @there.echo_yield_1([:key, :value]) {|one, two|} + assert_equal(:key, one) + assert_equal(:value, two) end def test_03_many |