From 698f8c2f01ea549d77d7dc3338a12e04c11057b9 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 14:02:58 +0200 Subject: Adding upstream version 1.64.0+dfsg1. Signed-off-by: Daniel Baumann --- .../tests/suite/gfm_strikethrough.rs | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 vendor/pulldown-cmark/tests/suite/gfm_strikethrough.rs (limited to 'vendor/pulldown-cmark/tests/suite/gfm_strikethrough.rs') diff --git a/vendor/pulldown-cmark/tests/suite/gfm_strikethrough.rs b/vendor/pulldown-cmark/tests/suite/gfm_strikethrough.rs new file mode 100644 index 000000000..92413c306 --- /dev/null +++ b/vendor/pulldown-cmark/tests/suite/gfm_strikethrough.rs @@ -0,0 +1,27 @@ +// 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##"

Hi Hello, world!

+"##; + + test_markdown_html(original, expected, false); +} + +#[test] +fn gfm_strikethrough_test_2() { + let original = r##"This ~~has a + +new paragraph~~. +"##; + let expected = r##"

This ~~has a

+

new paragraph~~.

+"##; + + test_markdown_html(original, expected, false); +} -- cgit v1.2.3