提交 db34a652 编写于 作者: V Vishnu Atrai

remove unused variables warnings removed

上级 0868461e
......@@ -80,14 +80,12 @@ def setup
end
test "Should escape dirty buffers on add" do
dirty = @buffer
clean = "hello".html_safe
@buffer.gsub!('', '<>')
assert_equal "hello&lt;&gt;", clean + @buffer
end
test "Should concat as a normal string when dirty" do
dirty = @buffer
clean = "hello".html_safe
@buffer.gsub!('', '<>')
assert_equal "<>hello", @buffer + clean
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册