summaryrefslogtreecommitdiff
path: root/test/date/test_date_arith.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/date/test_date_arith.rb')
-rw-r--r--test/date/test_date_arith.rb22
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