summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-03-03 17:33:45 +0000
committerkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-03-03 17:33:45 +0000
commit43ad8929dffa798953ac11e7dd4531d2d45376be (patch)
treebc734f5b48270efaf5aaf330a726f841391a41e4
parent373ed885c69c521d025af632da41b05dce3faa7f (diff)
* test/ruby/test_hash.rb (TestHash#test_keep_if): fix typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26809 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog6
-rw-r--r--test/ruby/test_hash.rb2
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index f492febe97..324c380fbb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Thu Mar 4 02:29:52 2010 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
+
+ * test/ruby/test_hash.rb (TestHash#test_keep_if): fix typo.
+
Thu Mar 4 00:10:54 2010 Tanaka Akira <akr@fsij.org>
* tool/transcode-tblgen.rb (HEX2): extracted from regexps.
@@ -111,7 +115,7 @@ Sun Feb 28 18:58:00 2010 Kenta Murata <mrkn@mrkn.jp>
math_gamma, math_lgamma): mathematical domain errors
are checked and raised before calling libm's functions.
- * test/ruby/test_math.rb: updated for changes of maht.c.
+ * test/ruby/test_math.rb: updated for changes of math.c.
Sun Feb 28 15:07:28 2010 Tanaka Akira <akr@fsij.org>
diff --git a/test/ruby/test_hash.rb b/test/ruby/test_hash.rb
index 519da6e451..920d933f76 100644
--- a/test/ruby/test_hash.rb
+++ b/test/ruby/test_hash.rb
@@ -290,7 +290,7 @@ class TestHash < Test::Unit::TestCase
assert_equal(base.size, n)
end
- def test_delete_if
+ def test_keep_if
h = {1=>2,3=>4,5=>6}
assert_equal({3=>4,5=>6}, h.keep_if {|k, v| k + v >= 7 })
h = {1=>2,3=>4,5=>6}