diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-12-23 11:48:55 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-12-23 11:48:55 +0000 |
commit | efe97f7f7b0175cc2ecea591d57c814fd03fe70d (patch) | |
tree | ad5ac5fe9283fa894de6c0771f526e269ff2f522 /test/ruby/test_array.rb | |
parent | 282a0556128af0ce6e9a0ce7781df068e8ba3688 (diff) |
* parse.y (args): splat other than direct array literal.
[ruby-dev:39771]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@26160 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_array.rb')
-rw-r--r-- | test/ruby/test_array.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/ruby/test_array.rb b/test/ruby/test_array.rb index 02733b941a..adac3e19d7 100644 --- a/test/ruby/test_array.rb +++ b/test/ruby/test_array.rb @@ -1280,7 +1280,8 @@ class TestArray < Test::Unit::TestCase def test_splat a = [2,3] assert_equal([1,2,3], [1, *a]) + bug2401 = '[ruby-dev:39771]' a = [2,3] - assert_equal([2,3], [*a]) + assert_equal([2,3], [*a], bug2401) end end |