diff options
author | Titus Wormer <tituswormer@gmail.com> | 2022-06-15 13:28:09 +0200 |
---|---|---|
committer | Titus Wormer <tituswormer@gmail.com> | 2022-06-15 13:28:09 +0200 |
commit | 7883e42c07acbccc16a2f5de5d1b98de364cc1ad (patch) | |
tree | 78cf2a8349968b45a40b0191e0209d89459cfc24 /tests/html_flow.rs | |
parent | 2f37ee269725b82913e937fbaaed909f10e4c464 (diff) | |
download | markdown-rs-7883e42c07acbccc16a2f5de5d1b98de364cc1ad.tar.gz markdown-rs-7883e42c07acbccc16a2f5de5d1b98de364cc1ad.tar.bz2 markdown-rs-7883e42c07acbccc16a2f5de5d1b98de364cc1ad.zip |
Update to enable some tests for added constructs
Diffstat (limited to 'tests/html_flow.rs')
-rw-r--r-- | tests/html_flow.rs | 15 |
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><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), |