1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* test/ruby/test_io_m17n.rb: remove a duplicative method.

* test/ruby/test_utf16.rb: rename a conflicting method name.

* test/ruby/test_array.rb: ditto.

* test/ruby/test_file_exhaustive.rb: ditto.

* test/ruby/test_hash.rb: ditto.

* test/ruby/test_env.rb: ditto.

* test/ruby/test_fixnum.rb: ditto.

* test/ruby/test_rational.rb: ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16406 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
mame 2008-05-13 15:57:22 +00:00
parent 4bb3fa6982
commit 1951ceeed7
9 changed files with 25 additions and 16 deletions

View file

@ -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)