aboutsummaryrefslogtreecommitdiffstats
path: root/test/ruby/test_array.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/ruby/test_array.rb')
-rw-r--r--test/ruby/test_array.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_array.rb b/test/ruby/test_array.rb
index 2ed15ffec0..3775c1f54e 100644
--- a/test/ruby/test_array.rb
+++ b/test/ruby/test_array.rb
@@ -1401,7 +1401,7 @@ class TestArray < Test::Unit::TestCase
assert_equal("[...]", a.join)
end
- def test_to_a
+ def test_to_a2
klass = Class.new(Array)
a = klass.new.to_a
assert_equal([], a)