提交 8c7730db 编写于 作者: X Xavier Noria

oops, two cancelling errors made a previous test pass, fixing it

上级 d96efe63
......@@ -204,7 +204,7 @@ def test_advance_does_first_years_and_then_days
end
def test_advance_does_first_months_and_then_days
assert_equal Date.new(2010, 3, 28), Date.new(2010, 2, 28).advance(:months => 1, :day => 1)
assert_equal Date.new(2010, 3, 29), Date.new(2010, 2, 28).advance(:months => 1, :days => 1)
# If day was done first we would jump to 2010-04-01 instead.
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册