提交 06d173b3 编写于 作者: S Steve Klabnik

fix order of assertions.

上级 3b97f6d4
......@@ -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.
先完成此消息的编辑!
想要评论请 注册