提交 80f14d0f 编写于 作者: X Xavier Noria

Merge pull request #7805 from steveklabnik/fix_assertion_order

fix order of assertions.
......@@ -635,9 +635,9 @@ def test_prune_size
@cache.prune(@record_size * 3)
assert @cache.exist?(5)
assert @cache.exist?(4)
assert "no entry", !@cache.exist?(3)
assert !@cache.exist?(3), "no entry"
assert @cache.exist?(2)
assert "no entry", !@cache.exist?(1)
assert !@cache.exist?(1), "no entry"
end
def test_prune_size_on_write
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册