bootstraptest/test_knownbug.rb: add test
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15656 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
88d9f7aeac
commit
adad6e0300
@ -50,3 +50,13 @@ assert_normal_exit %q{
|
||||
assert_normal_exit %q{
|
||||
"".center(1, "\x80".force_encoding("utf-8"))
|
||||
}, '[ruby-dev:33807]'
|
||||
|
||||
assert_equal 'ok', %q{
|
||||
a = lambda {|x, y, &b| b }
|
||||
b = a.curry[1]
|
||||
if b.call(2){} == nil
|
||||
:ng
|
||||
else
|
||||
:ok
|
||||
end
|
||||
}, '[ruby-core:15551]'
|
||||
|
Loading…
x
Reference in New Issue
Block a user