mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
change yield2 test. [ruby-dev:21739]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4851 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
70b6fce162
commit
27ce94a366
1 changed files with 2 additions and 2 deletions
|
@ -47,8 +47,8 @@ class TestDRbYield < Test::Unit::TestCase
|
|||
|
||||
one = two = nil
|
||||
@there.echo_yield_1([:key, :value]) {|one, two|}
|
||||
assert_equal(:key, one)
|
||||
assert_equal(:value, two)
|
||||
assert_equal([:key, :value], one)
|
||||
assert_equal(nil, two)
|
||||
end
|
||||
|
||||
def test_03_many
|
||||
|
|
Loading…
Add table
Reference in a new issue