summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrinpatch <rinpatch@sdf.org>2020-09-14 11:56:00 +0000
committerrinpatch <rinpatch@sdf.org>2020-09-14 11:56:00 +0000
commit738685a6298d7bd883fe81477b2e25ec94822e02 (patch)
treed8e4287a106a95eb5ba2f3f00191d9799020eb31
parentf70335002df9b2b3f47f0ccaed6aaeebfb14435f (diff)
Apply 1 suggestion(s) to 1 file(s)
-rw-r--r--test/web/rich_media/parser_test.exs2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/web/rich_media/parser_test.exs b/test/web/rich_media/parser_test.exs
index d65a63121..6d00c2af5 100644
--- a/test/web/rich_media/parser_test.exs
+++ b/test/web/rich_media/parser_test.exs
@@ -167,7 +167,7 @@ defmodule Pleroma.Web.RichMedia.ParserTest do
end
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
test "does a HEAD request to check if the body is html" do