diff options
| author | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-05-13 15:57:22 +0000 |
|---|---|---|
| committer | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-05-13 15:57:22 +0000 |
| commit | dc0cd581cc92299a69ab9d0b66652f0c5bc9a537 (patch) | |
| tree | 331e212fd28599185a550c6efb739284d72dfcf3 /test/ruby/test_hash.rb | |
| parent | d10c71a1c60f8a37ffef2d8bc52443f9ae9a6dae (diff) | |
| download | ruby-dc0cd581cc92299a69ab9d0b66652f0c5bc9a537.tar.gz ruby-dc0cd581cc92299a69ab9d0b66652f0c5bc9a537.tar.xz ruby-dc0cd581cc92299a69ab9d0b66652f0c5bc9a537.zip | |
* 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: http://svn.ruby-lang.org/repos/ruby/trunk@16406 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_hash.rb')
| -rw-r--r-- | test/ruby/test_hash.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_hash.rb b/test/ruby/test_hash.rb index 4c4dea84b..c3acf14e3 100644 --- a/test/ruby/test_hash.rb +++ b/test/ruby/test_hash.rb @@ -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 } |
