()
| 415 | |
| 416 | #[test] |
| 417 | fn test_from_bytes_single_line() { |
| 418 | let lines = Line::from_bytes(b"hello\n"); |
| 419 | assert_eq!(lines.len(), 1); |
| 420 | assert_eq!(lines[0].content(), b"hello\n"); |
| 421 | assert!(lines[0].is_last()); |
| 422 | } |
| 423 | |
| 424 | #[test] |
| 425 | fn test_from_bytes_only_newlines() { |
nothing calls this directly
no outgoing calls
no test coverage detected