fixup! 238e445f3012485d96aba81ca01ee45d7ba97370
This commit is contained in:
parent
fd977ca6c8
commit
e5c4ca5450
1 changed files with 0 additions and 44 deletions
44
src/lib.rs
44
src/lib.rs
|
@ -1035,50 +1035,6 @@ mod test {
|
|||
);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn list_item_unordered_nest() {
|
||||
test_parse!(
|
||||
concat!(
|
||||
"- a\n", //
|
||||
"\n", //
|
||||
" - aa\n", //
|
||||
),
|
||||
Start(
|
||||
List {
|
||||
kind: ListKind::Unordered,
|
||||
tight: false,
|
||||
},
|
||||
Attributes::new(),
|
||||
),
|
||||
Start(ListItem, Attributes::new()),
|
||||
Start(Paragraph, Attributes::new()),
|
||||
Str("a".into()),
|
||||
End(Paragraph),
|
||||
Atom(Blankline),
|
||||
Start(
|
||||
List {
|
||||
kind: ListKind::Unordered,
|
||||
tight: true,
|
||||
},
|
||||
Attributes::new(),
|
||||
),
|
||||
Start(ListItem, Attributes::new()),
|
||||
Start(Paragraph, Attributes::new()),
|
||||
Str("aa".into()),
|
||||
End(Paragraph),
|
||||
End(ListItem),
|
||||
End(List {
|
||||
kind: ListKind::Unordered,
|
||||
tight: true,
|
||||
}),
|
||||
End(ListItem),
|
||||
End(List {
|
||||
kind: ListKind::Unordered,
|
||||
tight: false,
|
||||
}),
|
||||
);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn list_item_ordered_decimal() {
|
||||
test_parse!(
|
||||
|
|
Loading…
Reference in a new issue