提交 2afe12f0 编写于 作者: J José Valim

Merge pull request #5465 from sandeepravi/warning_fixes

fixed - warning: assigned but unused variable - checker
......@@ -86,7 +86,7 @@ def test_should_not_block_if_a_strange_filename_used
FileUtils.touch(FILES.map { |file_name| "tmp_watcher/valid,yetstrange,path,/#{file_name}" } )
test = Thread.new do
checker = ActiveSupport::FileUpdateChecker.new([],"tmp_watcher/valid,yetstrange,path," => :txt){ i += 1 }
ActiveSupport::FileUpdateChecker.new([],"tmp_watcher/valid,yetstrange,path," => :txt){ i += 1 }
Thread.exit
end
test.priority = -1
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册