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:
parent
34c1959519
commit
c93458e0e6
1 changed files with 10 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue