Skip to content

Commit

Permalink
fixup! Contain fibers and open ports in HTTP::Client and HTTP::WebSoc…
Browse files Browse the repository at this point in the history
…ket specs
  • Loading branch information
straight-shoota committed Dec 18, 2018
1 parent 5c9f307 commit 85e7787
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions spec/std/http/client/client_spec.cr
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,6 @@ module HTTP
run_server(server) do
HTTP::Client.get("http://[::1]:#{address.port}/").body.should eq("[::1]:#{address.port}")
end

end

it "sends a 'connection: close' header on one-shot request" do
Expand All @@ -156,7 +155,6 @@ module HTTP
run_server(server) do
HTTP::Client.get("http://[::1]:#{address.port}/").body.should eq("close")
end

end

it "sends a 'connection: close' header on one-shot request with block" do
Expand All @@ -170,7 +168,6 @@ module HTTP
response.body_io.gets_to_end
end.should eq("close")
end

end

it "doesn't read the body if request was HEAD" do
Expand Down

0 comments on commit 85e7787

Please sign in to comment.