use mini_markdown::render;
#[test]
fn commonmark_test_328_code_spans() {
let test_html = render("`foo`\n");
let reference_html = "
foo
\n";
assert_eq!(test_html, reference_html);
}
#[test]
fn commonmark_test_329_code_spans() {
let test_html = render("`` foo ` bar ``\n");
let reference_html = "foo ` bar
\n";
assert_eq!(test_html, reference_html);
}
#[test]
fn commonmark_test_330_code_spans() {
let test_html = render("` `` `\n");
let reference_html = "``
\n";
assert_eq!(test_html, reference_html);
}
#[test]
fn commonmark_test_331_code_spans() {
let test_html = render("` `` `\n");
let reference_html = " ``
\n";
assert_eq!(test_html, reference_html);
}
#[test]
fn commonmark_test_332_code_spans() {
let test_html = render("` a`\n");
let reference_html = " a
\n";
assert_eq!(test_html, reference_html);
}
#[test]
fn commonmark_test_333_code_spans() {
let test_html = render("` b `\n");
let reference_html = " b
\n";
assert_eq!(test_html, reference_html);
}
#[test]
fn commonmark_test_334_code_spans() {
let test_html = render("` `\n` `\n");
let reference_html = "
\n
\n";
assert_eq!(test_html, reference_html);
}
#[test]
fn commonmark_test_335_code_spans() {
let test_html = render("``\nfoo\nbar \nbaz\n``\n");
let reference_html = "foo bar baz
\n";
assert_eq!(test_html, reference_html);
}
#[test]
fn commonmark_test_336_code_spans() {
let test_html = render("``\nfoo \n``\n");
let reference_html = "foo
\n";
assert_eq!(test_html, reference_html);
}
#[test]
fn commonmark_test_337_code_spans() {
let test_html = render("`foo bar \nbaz`\n");
let reference_html = "foo bar baz
\n";
assert_eq!(test_html, reference_html);
}
#[test]
fn commonmark_test_338_code_spans() {
let test_html = render("`foo\\`bar`\n");
let reference_html = "foo\\
bar`
\n";
assert_eq!(test_html, reference_html);
}
#[test]
fn commonmark_test_339_code_spans() {
let test_html = render("``foo`bar``\n");
let reference_html = "foo`bar
\n";
assert_eq!(test_html, reference_html);
}
#[test]
fn commonmark_test_340_code_spans() {
let test_html = render("` foo `` bar `\n");
let reference_html = "foo `` bar
\n";
assert_eq!(test_html, reference_html);
}
#[test]
fn commonmark_test_341_code_spans() {
let test_html = render("*foo`*`\n");
let reference_html = "*foo*
\n";
assert_eq!(test_html, reference_html);
}
#[test]
fn commonmark_test_342_code_spans() {
let test_html = render("[not a `link](/foo`)\n");
let reference_html = "[not a link](/foo
)
\n";
assert_eq!(test_html, reference_html);
}
#[test]
fn commonmark_test_343_code_spans() {
let test_html = render("``\n");
let reference_html = "<a href="
">`
\n";
assert_eq!(test_html, reference_html);
}
#[test]
fn commonmark_test_344_code_spans() {
let test_html = render("`\n");
let reference_html = "`
\n";
assert_eq!(test_html, reference_html);
}
#[test]
fn commonmark_test_345_code_spans() {
let test_html = render("``\n");
let reference_html = "<http://foo.bar.
baz>`
\n";
assert_eq!(test_html, reference_html);
}
#[test]
fn commonmark_test_346_code_spans() {
let test_html = render("`\n");
let reference_html = "http://foo.bar.`baz`
\n";
assert_eq!(test_html, reference_html);
}
#[test]
fn commonmark_test_347_code_spans() {
let test_html = render("```foo``\n");
let reference_html = "```foo``
\n";
assert_eq!(test_html, reference_html);
}
#[test]
fn commonmark_test_348_code_spans() {
let test_html = render("`foo\n");
let reference_html = "`foo
\n";
assert_eq!(test_html, reference_html);
}
#[test]
fn commonmark_test_349_code_spans() {
let test_html = render("`foo``bar``\n");
let reference_html = "`foobar
\n";
assert_eq!(test_html, reference_html);
}