pulldown-cmark/tests/suite/gfm_strikethrough.rs
2020-08-27 19:11:57 +02:00

27 lines
553 B
Rust

// This file is auto-generated by the build script
// Please, do not modify it manually
use super::test_markdown_html;
#[test]
fn gfm_strikethrough_test_1() {
let original = r##"~~Hi~~ Hello, world!
"##;
let expected = r##"<p><del>Hi</del> Hello, world!</p>
"##;
test_markdown_html(original, expected, false);
}
#[test]
fn gfm_strikethrough_test_2() {
let original = r##"This ~~has a
new paragraph~~.
"##;
let expected = r##"<p>This ~~has a</p>
<p>new paragraph~~.</p>
"##;
test_markdown_html(original, expected, false);
}