use mini_markdown::render; #[test] fn commonmark_test_80_setext_headings() { let test_html = render("Foo *bar*\n=========\n\nFoo *bar*\n---------\n"); let reference_html = "

Foo bar

\n

Foo bar

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_81_setext_headings() { let test_html = render("Foo *bar\nbaz*\n====\n"); let reference_html = "

Foo bar\nbaz

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_82_setext_headings() { let test_html = render(" Foo *bar\nbaz*\t\n====\n"); let reference_html = "

Foo bar\nbaz

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

Foo

\n

Foo

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

Foo

\n

Foo

\n

Foo

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

Foo

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

Foo\n---

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

Foo\n= =

\n

Foo

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

Foo

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

Foo\\

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

`Foo

\n

`

\n

<a title="a lot

\n

of dashes"/>

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

Foo

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

foo\nbar\n===

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

Foo\nBar

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_96_setext_headings() { let test_html = render("---\nFoo\n---\nBar\n---\nBaz\n"); let reference_html = "
\n

Foo

\n

Bar

\n

Baz

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

====

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_98_setext_headings() { let test_html = render("---\n---\n"); let reference_html = "
\n
\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_99_setext_headings() { let test_html = render("- foo\n-----\n"); let reference_html = "\n
\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_100_setext_headings() { let test_html = render(" foo\n---\n"); let reference_html = "
foo\n
\n
\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_101_setext_headings() { let test_html = render("> foo\n-----\n"); let reference_html = "
\n

foo

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

> foo

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

Foo

\n

bar

\n

baz

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

Foo\nbar

\n
\n

baz

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

Foo\nbar

\n
\n

baz

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

Foo\nbar\n---\nbaz

\n"; assert_eq!(test_html, reference_html); }