From 66fd099af12f25479343b1dce969d15878c4aaac Mon Sep 17 00:00:00 2001 From: Noah Hellman Date: Sat, 25 Feb 2023 16:41:44 +0100 Subject: [PATCH] lib: add test attr_inline_multiline --- src/lib.rs | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/src/lib.rs b/src/lib.rs index f14f782..6c13472 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1664,6 +1664,23 @@ mod test { ); } + #[test] + fn attr_inline_multiline() { + test_parse!( + concat!( + "> _abc_{a=b\n", // + "> c=d}\n", // + ), + Start(Blockquote, Attributes::new()), + Start(Paragraph, Attributes::new()), + Start(Emphasis, [("a", "b"), ("c", "d")].into_iter().collect()), + Str("abc".into()), + End(Emphasis), + End(Paragraph), + End(Blockquote), + ); + } + #[test] fn list_item_unordered() { test_parse!(