use mini_markdown::render; #[test] fn commonmark_test_1_tabs() { let test_html = render("\tfoo\tbaz\t\tbim\n"); let reference_html = "
foo\tbaz\t\tbim\n
\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_2_tabs() { let test_html = render(" \tfoo\tbaz\t\tbim\n"); let reference_html = "
foo\tbaz\t\tbim\n
\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_3_tabs() { let test_html = render(" a\ta\n ὐ\ta\n"); let reference_html = "
a\ta\nὐ\ta\n
\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_4_tabs() { let test_html = render(" - foo\n\n\tbar\n"); let reference_html = "\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_5_tabs() { let test_html = render("- foo\n\n\t\tbar\n"); let reference_html = "\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_6_tabs() { let test_html = render(">\t\tfoo\n"); let reference_html = "
\n
  foo\n
\n
\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_7_tabs() { let test_html = render("-\t\tfoo\n"); let reference_html = "\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_8_tabs() { let test_html = render(" foo\n\tbar\n"); let reference_html = "
foo\nbar\n
\n"; assert_eq!(test_html, reference_html); } //#[test] //fn commonmark_test_9_tabs() { // let test_html = render(" - foo\n - bar\n\t - baz\n"); // let reference_html = "\n"; // assert_eq!(test_html, reference_html); //} #[test] fn commonmark_test_10_tabs() { let test_html = render("#\tFoo\n"); let reference_html = "

Foo

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