diff options
author | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-06-16 09:17:55 +0000 |
---|---|---|
committer | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-06-16 09:17:55 +0000 |
commit | 9761965d0532334782edc189081ba282a1e77e60 (patch) | |
tree | df9af214199f5de5d88191d9150c8b6ff5a48d34 /test/date | |
parent | ea7c1f4dc6cf64a0115607b5c8b41e24f759564e (diff) | |
download | ruby-9761965d0532334782edc189081ba282a1e77e60.tar.gz |
* test/date/test_date_arith.rb: remove unused block argument.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46445 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/date')
-rw-r--r-- | test/date/test_date_arith.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/date/test_date_arith.rb b/test/date/test_date_arith.rb index 745ddbd16c..a56733347b 100644 --- a/test/date/test_date_arith.rb +++ b/test/date/test_date_arith.rb @@ -205,7 +205,7 @@ class TestDateArith < Test::Unit::TestCase p = Date.new(2001,1,14) q = Date.new(2001,1,7) i = 0 - p.downto(q) do |d| + p.downto(q) do i += 1 end assert_equal(8, i) @@ -222,7 +222,7 @@ class TestDateArith < Test::Unit::TestCase p = Date.new(2001,1,14) q = Date.new(2001,1,21) i = 0 - p.upto(q) do |d| + p.upto(q) do i += 1 end assert_equal(8, i) @@ -239,13 +239,13 @@ class TestDateArith < Test::Unit::TestCase p = Date.new(2001,1,14) q = Date.new(2001,1,21) i = 0 - p.step(q, 2) do |d| + p.step(q, 2) do i += 1 end assert_equal(4, i) i = 0 - p.step(q) do |d| + p.step(q) do i += 1 end assert_equal(8, i) |