use mini_markdown::render; #[test] fn commonmark_test_43_thematic_breaks() { let test_html = render("***\n---\n___\n"); let reference_html = "
\n
\n
\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_44_thematic_breaks() { let test_html = render("+++\n"); let reference_html = "

+++

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_45_thematic_breaks() { let test_html = render("===\n"); let reference_html = "

===

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_46_thematic_breaks() { let test_html = render("--\n**\n__\n"); let reference_html = "

--\n**\n__

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_47_thematic_breaks() { let test_html = render(" ***\n ***\n ***\n"); let reference_html = "
\n
\n
\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_48_thematic_breaks() { let test_html = render(" ***\n"); let reference_html = "
***\n
\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_49_thematic_breaks() { let test_html = render("Foo\n ***\n"); let reference_html = "

Foo\n***

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_50_thematic_breaks() { let test_html = render("_____________________________________\n"); let reference_html = "
\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_51_thematic_breaks() { let test_html = render(" - - -\n"); let reference_html = "
\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_52_thematic_breaks() { let test_html = render(" ** * ** * ** * **\n"); let reference_html = "
\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_53_thematic_breaks() { let test_html = render("- - - -\n"); let reference_html = "
\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_54_thematic_breaks() { let test_html = render("- - - - \n"); let reference_html = "
\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_55_thematic_breaks() { let test_html = render("_ _ _ _ a\n\na------\n\n---a---\n"); let reference_html = "

_ _ _ _ a

\n

a------

\n

---a---

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_56_thematic_breaks() { let test_html = render(" *-*\n"); let reference_html = "

-

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_57_thematic_breaks() { let test_html = render("- foo\n***\n- bar\n"); let reference_html = "\n
\n\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_58_thematic_breaks() { let test_html = render("Foo\n***\nbar\n"); let reference_html = "

Foo

\n
\n

bar

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_59_thematic_breaks() { let test_html = render("Foo\n---\nbar\n"); let reference_html = "

Foo

\n

bar

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_60_thematic_breaks() { let test_html = render("* Foo\n* * *\n* Bar\n"); let reference_html = "\n
\n\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_61_thematic_breaks() { let test_html = render("- Foo\n- * * *\n"); let reference_html = "\n"; assert_eq!(test_html, reference_html); }