提交 997a1644 编写于 作者: R Rafael Mendonça França

Merge pull request #7813 from arunagw/warning_fixed_as

warning fixed: (...) interpreted as grouped expression
......@@ -855,7 +855,7 @@ def test_compress_values
value = "value" * 100
entry = ActiveSupport::Cache::Entry.new(value, :compress => true, :compress_threshold => 1)
assert_equal value, entry.value
assert (value.bytesize > entry.size), "value is compressed"
assert(value.bytesize > entry.size, "value is compressed")
end
def test_non_compress_values
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册