提交 df46910a 编写于 作者: J Justin Collins

Don't modify Warning#code when running tests

上级 c803a0c6
......@@ -584,11 +584,6 @@ HEADER
report[meth] = @checks.send(meth)
report[meth].each do |w|
w.message = w.format_message
if w.code
w.code = w.format_code
else
w.code = ""
end
w.context = context_for(@app_tree, w).join("\n")
end
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册