This commit is contained in:
ilslv 2022-02-11 12:42:54 +03:00
parent 81d661c4f1
commit 6c4974b5c6
1 changed files with 4 additions and 1 deletions

View File

@ -657,7 +657,10 @@ mod tests {
let mut parser = SummaryParser::new(src); let mut parser = SummaryParser::new(src);
assert!(parser.parse_title().is_none()); assert!(parser.parse_title().is_none());
assert!(matches!(parser.next_event(), Some(Event::Start(Tag::Paragraph)))); assert!(matches!(
parser.next_event(),
Some(Event::Start(Tag::Paragraph)),
));
} }
#[test] #[test]