提交 f8f0d13a 编写于 作者: Y yui-knk

Suppress warning (warning about assigned but unused variable)

These warings have been appeared from
https://github.com/rails/rails/commit/92bc8cdb0771bf6ffcfb31ef58dba529527b514c
上级 92bc8cdb
......@@ -98,7 +98,7 @@ def test_connections_closed_if_exception_and_explicitly_not_test
test "doesn't mutate the original response" do
original_response = [200, {}, 'hi']
app = lambda { |_| original_response }
response_body = ConnectionManagement.new(app).call(@env)[2]
ConnectionManagement.new(app).call(@env)[2]
assert_equal original_response.last, 'hi'
end
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册