mirror of
https://github.com/ruby/ruby.git
synced 2025-09-16 09:04:05 +02:00
* array.c (ary_join_1): should recurse for element array.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24026 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
161f0a1699
commit
38867cc115
4 changed files with 8 additions and 2 deletions
|
@ -1496,6 +1496,7 @@ class TestArray < Test::Unit::TestCase
|
|||
[self]
|
||||
end
|
||||
assert_equal("[...]", [a].join, '[ruby-core:24150]')
|
||||
assert_equal("12345", [1,[2,[3,4],5]].join)
|
||||
end
|
||||
|
||||
def test_to_a2
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue