()
| 423 | |
| 424 | #[test] |
| 425 | fn test_from_bytes_only_newlines() { |
| 426 | let lines = Line::from_bytes(b"\n\n\n"); |
| 427 | assert_eq!(lines.len(), 3); |
| 428 | for line in &lines { |
| 429 | assert_eq!(line.content(), b"\n"); |
| 430 | } |
| 431 | } |
| 432 | |
| 433 | #[test] |
| 434 | fn test_from_text() { |
nothing calls this directly
no outgoing calls
no test coverage detected