summaryrefslogtreecommitdiff
path: root/test/ruby
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-07-10 15:11:43 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-07-10 15:11:43 +0000
commit38867cc1150e533a8df65de673195fe632c2d7f8 (patch)
tree3d57524649908d0e2838ae1a41003f7c621b40fa /test/ruby
parent161f0a16990d8025135bcca1af3c992bfc3cf68c (diff)
* 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
Diffstat (limited to 'test/ruby')
-rw-r--r--test/ruby/test_array.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/ruby/test_array.rb b/test/ruby/test_array.rb
index 469cd53..c51e179 100644
--- a/test/ruby/test_array.rb
+++ b/test/ruby/test_array.rb
@@ -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