fixup! 238e445f3012485d96aba81ca01ee45d7ba97370

This commit is contained in:
Noah Hellman 2023-01-23 21:11:49 +01:00
parent fd977ca6c8
commit e5c4ca5450

View file

@ -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] #[test]
fn list_item_ordered_decimal() { fn list_item_ordered_decimal() {
test_parse!( test_parse!(