提交 65d71d8d 编写于 作者: R Ryuta Kamizono

Fix "warning: assigned but unused variable - task"

上级 029cbb35
......@@ -215,7 +215,7 @@ def test_query_cache_doesnt_leak_cached_results_of_rolled_back_queries
def test_query_cached_even_when_types_are_reset
Task.cache do
# Warm the cache
task = Task.find(1)
Task.find(1)
Task.connection.type_map.clear
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册