X-Git-Url: https://git.squeep.com/?a=blobdiff_plain;f=test%2Fpleroma%2Fformatter_test.exs;h=7f54638fbe743785496a0935fd9820c2f18ed043;hb=822196f393e8b214b03ece875af0f53e41f40528;hp=ceedd1b6df298d960d6544696e03be33179b7b21;hpb=e9e17e5df34051bce60232890ea042582af31f8c;p=akkoma diff --git a/test/pleroma/formatter_test.exs b/test/pleroma/formatter_test.exs index ceedd1b6d..7f54638fb 100644 --- a/test/pleroma/formatter_test.exs +++ b/test/pleroma/formatter_test.exs @@ -1,5 +1,5 @@ # Pleroma: A lightweight social networking server -# Copyright © 2017-2020 Pleroma Authors +# Copyright © 2017-2021 Pleroma Authors # SPDX-License-Identifier: AGPL-3.0-only defmodule Pleroma.FormatterTest do @@ -307,11 +307,4 @@ defmodule Pleroma.FormatterTest do assert Formatter.html_escape(text, "text/plain") == expected end - - test "it minifies html" do - text = "

\nhello

\n

\nworld

\n" - expected = "

hello

world

" - - assert Formatter.minify(text, "text/html") == expected - end end