Unused variables
This commit is contained in:
parent
f213e92689
commit
5a41e6b025
@ -378,10 +378,10 @@ def test_only_set_charset_still_defaults_to_text_html
|
||||
app = lambda { |env| @response.to_a }
|
||||
env = Rack::MockRequest.env_for("/")
|
||||
|
||||
status, headers, body = app.call(env)
|
||||
_status, headers, _body = app.call(env)
|
||||
assert_nil headers["Content-Length"]
|
||||
|
||||
status, headers, body = Rack::ContentLength.new(app).call(env)
|
||||
_status, headers, _body = Rack::ContentLength.new(app).call(env)
|
||||
assert_equal "5", headers["Content-Length"]
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user