Merge pull request #733 from vipulnsward/warn-1

Fix some warnings
This commit is contained in:
Konstantin Haase 2013-09-09 09:45:53 -07:00
commit 03095378c9
2 changed files with 1 additions and 2 deletions

View File

@ -156,7 +156,6 @@ class BaseTest < Test::Unit::TestCase
class TestMiddlewareContentLength < Sinatra::Base
get '/forward' do
res = forward
'From after explicit forward!'
end
end

View File

@ -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