aboutsummaryrefslogtreecommitdiffstats
path: root/tests/html_flow.rs
diff options
context:
space:
mode:
authorLibravatar Titus Wormer <tituswormer@gmail.com>2022-06-15 13:28:09 +0200
committerLibravatar Titus Wormer <tituswormer@gmail.com>2022-06-15 13:28:09 +0200
commit7883e42c07acbccc16a2f5de5d1b98de364cc1ad (patch)
tree78cf2a8349968b45a40b0191e0209d89459cfc24 /tests/html_flow.rs
parent2f37ee269725b82913e937fbaaed909f10e4c464 (diff)
downloadmarkdown-rs-7883e42c07acbccc16a2f5de5d1b98de364cc1ad.tar.gz
markdown-rs-7883e42c07acbccc16a2f5de5d1b98de364cc1ad.tar.bz2
markdown-rs-7883e42c07acbccc16a2f5de5d1b98de364cc1ad.zip
Update to enable some tests for added constructs
Diffstat (limited to '')
-rw-r--r--tests/html_flow.rs15
1 files changed, 7 insertions, 8 deletions
diff --git a/tests/html_flow.rs b/tests/html_flow.rs
index 6445af3..140e11d 100644
--- a/tests/html_flow.rs
+++ b/tests/html_flow.rs
@@ -97,7 +97,7 @@ p {color:blue;}
"should support raw tags w/o ending"
);
- // To do: phrasing.
+ // To do: attention.
// assert_eq!(
// micromark_with_options("<style>p{color:red;}</style>\n*foo*", DANGER),
// "<style>p{color:red;}</style>\n<p><em>foo</em></p>",
@@ -128,7 +128,7 @@ p {color:blue;}
"should not support an eof after a self-closing slash"
);
- // To do: phrasing.
+ // To do: attention.
// assert_eq!(
// micromark_with_options("<script/\n*asd*", DANGER),
// "<p>&lt;script/\n<em>asd</em></p>",
@@ -147,12 +147,11 @@ p {color:blue;}
"should support a line ending after a self-closing tag"
);
- // To do: html (text).
- // assert_eq!(
- // micromark_with_options("<script/>a", DANGER),
- // "<p><script/>a</p>",
- // "should not support other characters after a self-closing tag"
- // );
+ assert_eq!(
+ micromark_with_options("<script/>a", DANGER),
+ "<p><script/>a</p>",
+ "should not support other characters after a self-closing tag"
+ );
assert_eq!(
micromark_with_options("<script>a", DANGER),