lib: add test attr_inline_multiline
This commit is contained in:
parent
722f549ffd
commit
66fd099af1
1 changed files with 17 additions and 0 deletions
17
src/lib.rs
17
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!(
|
||||
|
|
Loading…
Reference in a new issue