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

This even fails.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@26612 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
knu 2010-02-07 04:59:00 +00:00
parent 34c1959519
commit c93458e0e6

View file

@ -1323,5 +1323,15 @@ class TestArray < Test::Unit::TestCase
false
end
)
a = [1, 2, 3]
assert_equal(true,
case 2
when 2, *a
true
else
false
end
)
end
end