Helper to create lines from strings
(strs: &[&'a str])
| 196 | |
| 197 | /// Helper to create lines from strings |
| 198 | fn lines<'a>(strs: &[&'a str]) -> Vec<Line<'a>> { |
| 199 | strs.iter().map(|s| Line::new(s.as_bytes())).collect() |
| 200 | } |
| 201 | |
| 202 | #[test] |
| 203 | fn test_empty_sequences() { |