Apply 1 suggestion(s) to 1 file(s)
This commit is contained in:
parent
f70335002d
commit
738685a629
@ -167,7 +167,7 @@ test "returns error if getting page was not successful" do
|
|||||||
end
|
end
|
||||||
|
|
||||||
test "does a HEAD request to check if the body is too large" do
|
test "does a HEAD request to check if the body is too large" do
|
||||||
assert {:error, body_too_large} = Parser.parse("http://example.com/huge-page")
|
assert {:error, :body_too_large} = Parser.parse("http://example.com/huge-page")
|
||||||
end
|
end
|
||||||
|
|
||||||
test "does a HEAD request to check if the body is html" do
|
test "does a HEAD request to check if the body is html" do
|
||||||
|
Loading…
Reference in New Issue
Block a user