diff options
author | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-02-07 15:09:12 +0000 |
---|---|---|
committer | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-02-07 15:09:12 +0000 |
commit | 2bef7dece17c3ef98c1c0aca08d4028d6afc998a (patch) | |
tree | 051efbdc49a2d8db94b4a12e11ccd10f37fb78ee /test/ruby/test_hash.rb | |
parent | 1809782c3eaa24fc751ac2fd96fb204a51c15e68 (diff) | |
download | ruby-2bef7dece17c3ef98c1c0aca08d4028d6afc998a.tar.gz |
* test/ruby/test_hash.rb: follow the change of Hash#flatten.
* test/ruby/test_time.rb: add tests to achieve over 70% test coverage
of time.c.
* test/ruby/test_prec.rb: ditto over 90% for prec.c.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15399 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 ff6c383dbd..9c2978cd8a 100644 --- a/test/ruby/test_hash.rb +++ b/test/ruby/test_hash.rb @@ -794,7 +794,7 @@ class TestHash < Test::Unit::TestCase end def test_flatten - assert_equal([1, 2], {[1] => [2]}.flatten) + assert_equal([[1], [2]], {[1] => [2]}.flatten) end def test_callcc |