提交 8471fc03 编写于 作者: J Jade Tucker

Explicitly test for true and false.

上级 cad2c8f5
......@@ -327,8 +327,8 @@ def test_keys_are_case_sensitive
def test_exist
@cache.write('foo', 'bar')
assert @cache.exist?('foo')
assert !@cache.exist?('bar')
assert_equal true, @cache.exist?('foo')
assert_equal false, @cache.exist?('bar')
end
def test_nil_exist
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册