diff options
author | Jeremy Evans <code@jeremyevans.net> | 2023-01-22 11:46:37 -0800 |
---|---|---|
committer | Jeremy Evans <code@jeremyevans.net> | 2023-01-22 11:46:37 -0800 |
commit | 3c1e0ff093d98356b084d797abc36f80feeb61f8 (patch) | |
tree | 6890ca1c01e8bbb66f528e95aef6ba37e51a4277 /test | |
parent | 8193ddb494c53cf656cee233e5faa4f12d657230 (diff) | |
download | rack-3c1e0ff093d98356b084d797abc36f80feeb61f8.tar.gz |
Fix some unused variable verbose warnings
Diffstat (limited to 'test')
-rw-r--r-- | test/spec_lint.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/spec_lint.rb b/test/spec_lint.rb index f7e5852a..1f8a19fc 100644 --- a/test/spec_lint.rb +++ b/test/spec_lint.rb @@ -482,7 +482,7 @@ describe Rack::Lint do def body.to_path; __FILE__ end app = lambda { |env| [200, {}, body] } - status, headers, body = Rack::Lint.new(app).call(env({})) + body = Rack::Lint.new(app).call(env({}))[2] body.must_respond_to(:to_path) body.to_path.must_equal __FILE__ end |