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:
parent
4bb3fa6982
commit
1951ceeed7
9 changed files with 25 additions and 16 deletions
|
|
@ -721,7 +721,7 @@ class TestHash < Test::Unit::TestCase
|
|||
assert_equal({3=>4,5=>6}, {1=>2,3=>4,5=>6}.select {|k, v| k + v >= 7 })
|
||||
end
|
||||
|
||||
def test_clear
|
||||
def test_clear2
|
||||
assert_equal({}, {1=>2,3=>4,5=>6}.clear)
|
||||
h = {1=>2,3=>4,5=>6}
|
||||
h.each { h.clear }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue