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 = "foo
\nbar
\nfoo
\n bar\n
\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 = "\nfoo\n
foo\n
\nfoo\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 = "