mirror of
https://github.com/sinatra/sinatra
synced 2023-03-27 23:18:01 -04:00
Fix some warnings
This commit is contained in:
parent
ec3e2c2ff8
commit
b6648df1a9
2 changed files with 1 additions and 2 deletions
|
@ -156,7 +156,6 @@ class BaseTest < Test::Unit::TestCase
|
|||
|
||||
class TestMiddlewareContentLength < Sinatra::Base
|
||||
get '/forward' do
|
||||
res = forward
|
||||
'From after explicit forward!'
|
||||
end
|
||||
end
|
||||
|
|
|
@ -221,7 +221,7 @@ module IntegrationHelper
|
|||
|
||||
base_port = 5000 + Process.pid % 100
|
||||
Sinatra::Base.server.each_with_index do |server, index|
|
||||
Server.run(server, 5000+index)
|
||||
Server.run(server, base_port+index)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue