From c93458e0e67b0f1ca023e2af6be6abac8fa515ec Mon Sep 17 00:00:00 2001 From: knu Date: Sun, 7 Feb 2010 04:59:00 +0000 Subject: This even fails. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@26612 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/ruby/test_array.rb | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'test/ruby/test_array.rb') diff --git a/test/ruby/test_array.rb b/test/ruby/test_array.rb index fe10a69e68..8ddb2d5a45 100644 --- a/test/ruby/test_array.rb +++ b/test/ruby/test_array.rb @@ -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 -- cgit v1.2.3