+ assert_eq!(
+ read_rows(&b"foo\n\n\nbar\n"[..])
+ .flatten()
+ .collect::<Vec<_>>(),
+ vec![
+ Rowlike::Row(Row {
+ label: "foo".to_owned(),
+ entries: HashMap::new(),
+ }),
+ Rowlike::Spacer,
+ Rowlike::Row(Row {
+ label: "bar".to_owned(),
+ entries: HashMap::new(),
+ })
+ ]
+ );