提交 5c02e305 编写于 作者: K kennyj

Fix warning: possibly useless use of % in void context

上级 a6dbc3fe
......@@ -465,7 +465,7 @@ def to_s
test "Concatting with % doesn't modify a string" do
@other_string = ["<p>", "<b>", "<h1>"]
"%s %s %s".html_safe % @other_string
_ = "%s %s %s".html_safe % @other_string
assert_equal ["<p>", "<b>", "<h1>"], @other_string
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册