lib: add test attr_inline_multiline

This commit is contained in:
Noah Hellman 2023-02-25 16:41:44 +01:00
parent 722f549ffd
commit 66fd099af1

View file

@ -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!(