1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

add test for [ruby-dev:31437].

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13065 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2007-08-16 10:21:49 +00:00
parent 9a26bd3f57
commit 5fe865d0ac

View file

@ -410,3 +410,10 @@ o = 1
o = [o, o]
}; $ans
}
assert_equal '0', %q{
def m()
yield [0]
end
m {|*,v| v}.inspect
}, '[ruby-dev:31437]'