aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Gleason <alex@alexgleason.me>2020-10-13 02:08:41 -0500
committerMark Felder <feld@FreeBSD.org>2020-12-11 17:22:30 -0600
commitc4f4e48e574362d1ec86eaf11a382e81ca97cb35 (patch)
tree66099ae1870447c189ba206f38ad8a700fb7343a
parentba71bbf6101847292346ba3b1fbe78ce4c385919 (diff)
downloadpleroma-c4f4e48e574362d1ec86eaf11a382e81ca97cb35.tar.gz
Remove some N/A tests
-rw-r--r--test/pleroma/web/common_api/utils_test.exs12
1 files changed, 1 insertions, 11 deletions
diff --git a/test/pleroma/web/common_api/utils_test.exs b/test/pleroma/web/common_api/utils_test.exs
index 39ea08ca8..c6abbbe84 100644
--- a/test/pleroma/web/common_api/utils_test.exs
+++ b/test/pleroma/web/common_api/utils_test.exs
@@ -187,12 +187,6 @@ defmodule Pleroma.Web.CommonAPI.UtilsTest do
assert result == "<p>before</p><hr /><p>after</p>"
end
- test "headings" do
- code = ~s[# h1\n## h2\n### h3\n]
- {result, [], []} = Utils.format_input(code, "text/markdown")
- assert result == ~s[<h1>h1</h1><h2>h2</h2><h3>h3</h3>]
- end
-
test "blockquote" do
code = ~s[> whoms't are you quoting?]
{result, [], []} = Utils.format_input(code, "text/markdown")
@@ -224,10 +218,6 @@ defmodule Pleroma.Web.CommonAPI.UtilsTest do
end
test "delegated renderers" do
- code = ~s[a<br/>b]
- {result, [], []} = Utils.format_input(code, "text/markdown")
- assert result == "<p>#{code}</p>"
-
code = ~s[*aaaa~*]
{result, [], []} = Utils.format_input(code, "text/markdown")
assert result == ~s[<p><em>aaaa~</em></p>]
@@ -236,7 +226,7 @@ defmodule Pleroma.Web.CommonAPI.UtilsTest do
{result, [], []} = Utils.format_input(code, "text/markdown")
assert result == ~s[<p><strong>aaaa~</strong></p>]
- # strikethrought
+ # strikethrough
code = ~s[<del>aaaa~</del>]
{result, [], []} = Utils.format_input(code, "text/markdown")
assert result == ~s[<p><del>aaaa~</del></p>]