Helper to create lines from strings
(strs: &[&'a str])
| 378 | |
| 379 | /// Helper to create lines from strings |
| 380 | fn lines<'a>(strs: &[&'a str]) -> Vec<Line<'a>> { |
| 381 | strs.iter().map(|s| Line::new(s.as_bytes())).collect() |
| 382 | } |
| 383 | |
| 384 | // Basic Tests |
| 385 | #[test] |