mirror of
https://git.proxmox.com/git/rustc
synced 2025-08-16 00:29:23 +00:00
28 lines
539 B
Rust
28 lines
539 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);
|
|
}
|
|
|
|
#[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);
|
|
}
|