From 1e667d5fec33d90136750ecbfcdae3f7d86c5ba1 Mon Sep 17 00:00:00 2001 From: hsbt Date: Fri, 1 Aug 2014 09:41:59 +0000 Subject: * 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 --- test/date/test_date_arith.rb | 22 ---------------------- 1 file changed, 22 deletions(-) (limited to 'test/date/test_date_arith.rb') 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 -- cgit v1.2.3