Remove some N/A tests

This commit is contained in:
Alex Gleason 2020-10-13 02:08:41 -05:00 committed by Mark Felder
parent ba71bbf610
commit c4f4e48e57
1 changed files with 1 additions and 11 deletions

View File

@ -187,12 +187,6 @@ test "rulers" do
assert result == "<p>before</p><hr /><p>after</p>" assert result == "<p>before</p><hr /><p>after</p>"
end 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 test "blockquote" do
code = ~s[> whoms't are you quoting?] code = ~s[> whoms't are you quoting?]
{result, [], []} = Utils.format_input(code, "text/markdown") {result, [], []} = Utils.format_input(code, "text/markdown")
@ -224,10 +218,6 @@ test "lists" do
end end
test "delegated renderers" do test "delegated renderers" do
code = ~s[a<br/>b]
{result, [], []} = Utils.format_input(code, "text/markdown")
assert result == "<p>#{code}</p>"
code = ~s[*aaaa~*] code = ~s[*aaaa~*]
{result, [], []} = Utils.format_input(code, "text/markdown") {result, [], []} = Utils.format_input(code, "text/markdown")
assert result == ~s[<p><em>aaaa~</em></p>] assert result == ~s[<p><em>aaaa~</em></p>]
@ -236,7 +226,7 @@ test "delegated renderers" do
{result, [], []} = Utils.format_input(code, "text/markdown") {result, [], []} = Utils.format_input(code, "text/markdown")
assert result == ~s[<p><strong>aaaa~</strong></p>] assert result == ~s[<p><strong>aaaa~</strong></p>]
# strikethrought # strikethrough
code = ~s[<del>aaaa~</del>] code = ~s[<del>aaaa~</del>]
{result, [], []} = Utils.format_input(code, "text/markdown") {result, [], []} = Utils.format_input(code, "text/markdown")
assert result == ~s[<p><del>aaaa~</del></p>] assert result == ~s[<p><del>aaaa~</del></p>]