Skip to content

Commit

Permalink
apply formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
straight-shoota committed Dec 18, 2018
1 parent 51e3225 commit 59a4d98
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion spec/std/http/server/server_spec.cr
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,6 @@ module HTTP
server = Server.new { |ctx| }
port = server.bind_tcp(0).port
port.should_not eq(0)

ensure
server.close if server
ensure_no_ports_leaking
Expand Down
2 changes: 1 addition & 1 deletion src/http/server.cr
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ class HTTP::Server

# Adds a `Socket::Server` *socket* to this server.
def bind(socket : Socket::Server) : Nil
bind(socket) {}
bind(socket) { }
end

# Helper method which yields to block, allowing to close a newly created socket if
Expand Down

0 comments on commit 59a4d98

Please sign in to comment.