mirror of
				https://gitea.invidious.io/iv-org/shard-kemal.git
				synced 2024-08-15 00:53:36 +00:00 
			
		
		
		
	Format code
This commit is contained in:
		
							parent
							
								
									4c9b9ad3d5
								
							
						
					
					
						commit
						5a58ee3cbb
					
				
					 5 changed files with 1 additions and 6 deletions
				
			
		|  | @ -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 | ||||||
|  |  | ||||||
|  | @ -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 | ||||||
|  |  | ||||||
|  | @ -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 | ||||||
|  |  | ||||||
|  | @ -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 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue