Format code

This commit is contained in:
sdogruyol 2016-02-17 11:52:13 +02:00
parent 4c9b9ad3d5
commit 5a58ee3cbb
5 changed files with 1 additions and 6 deletions

View file

@ -143,7 +143,6 @@ describe "Kemal::Middleware::Filters" do
client_response = HTTP::Client::Response.from_io(io_with_context, decompress: false) client_response = HTTP::Client::Response.from_io(io_with_context, decompress: false)
client_response.body.should eq("false") client_response.body.should eq("false")
end end
end end
class FilterTest class FilterTest

View file

@ -18,6 +18,5 @@ class HTTP::Server
def route_defined? def route_defined?
route_lookup.found? route_lookup.found?
end end
end end
end end

View file

@ -25,5 +25,4 @@ class HTTP::Request
override_method = override_method.upcase override_method = override_method.upcase
override_method == "PUT" || override_method == "PATCH" || override_method == "DELETE" override_method == "PUT" || override_method == "PATCH" || override_method == "DELETE"
end end
end end

View file

@ -7,6 +7,4 @@ class Kemal::Route
def initialize(@method, @path, &@handler : HTTP::Server::Context -> _) def initialize(@method, @path, &@handler : HTTP::Server::Context -> _)
end end
end end