diff --git a/src/lib.rs b/src/lib.rs index 9f3ba7e..b2730b5 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1048,74 +1048,6 @@ mod test { ); } - #[test] - fn list_mixed() { - test_parse!( - concat!( - "- a\n", // - "+ b\n", // - "0) c\n", // - "0) d\n", // - "(b) e\n", // - ), - Start(List(List::Unordered), Attributes::new()), - Start(ListItem, Attributes::new()), - Start(Paragraph, Attributes::new()), - Str("a".into()), - End(Paragraph), - End(ListItem), - End(List(List::Unordered)), - Start(List(List::Unordered), Attributes::new()), - Start(ListItem, Attributes::new()), - Start(Paragraph, Attributes::new()), - Str("b".into()), - End(Paragraph), - End(ListItem), - End(List(List::Unordered)), - Start( - List(List::Ordered { - numbering: Decimal, - style: Paren, - start: 1, - }), - Attributes::new() - ), - Start(ListItem, Attributes::new()), - Start(Paragraph, Attributes::new()), - Str("c".into()), - End(Paragraph), - End(ListItem), - Start(ListItem, Attributes::new()), - Start(Paragraph, Attributes::new()), - Str("d".into()), - End(Paragraph), - End(ListItem), - End(List(List::Ordered { - numbering: Decimal, - style: Paren, - start: 1, - })), - Start( - List(List::Ordered { - numbering: AlphaLower, - style: ParenParen, - start: 2 - }), - Attributes::new() - ), - Start(ListItem, Attributes::new()), - Start(Paragraph, Attributes::new()), - Str("e".into()), - End(Paragraph), - End(ListItem), - End(List(List::Ordered { - numbering: AlphaLower, - style: ParenParen, - start: 2, - })), - ); - } - #[test] fn list_task() { test_parse!(