diff options
author | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-08-01 09:41:59 +0000 |
---|---|---|
committer | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-08-01 09:41:59 +0000 |
commit | 1e667d5fec33d90136750ecbfcdae3f7d86c5ba1 (patch) | |
tree | d10fc6102d9532e834e878fe478a464a0402a320 /test/date/test_date_arith.rb | |
parent | 52b59fc9d90e8b06aa1e8df83c5ca63164769bcc (diff) |
* test/date/test_date.rb: remove commented-out code.
* test/date/test_date_arith.rb: ditto.
* test/date/test_date_attr.rb: ditto.
* test/date/test_date_parse.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47025 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/date/test_date_arith.rb')
-rw-r--r-- | test/date/test_date_arith.rb | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/test/date/test_date_arith.rb b/test/date/test_date_arith.rb index a56733347b..7b79c18097 100644 --- a/test/date/test_date_arith.rb +++ b/test/date/test_date_arith.rb @@ -261,26 +261,4 @@ class TestDateArith < Test::Unit::TestCase assert_equal(8, e.to_a.size) end -=begin - def test_step__inf - p = Date.new(2001,1,14) - q = Date.new(2001,1,21) - inf = 1.0/0 - - if inf.infinite? - [p, q].each do |a| - [p, q].each do |b| - [inf, -inf].each do |c| - i = 0 - a.step(b, c) do |d| - i += 1 - end - assert_equal(0, i) - end - end - end - end - end -=end - end |