()
| 513 | // split_lines Tests |
| 514 | #[test] |
| 515 | fn test_split_lines() { |
| 516 | let lines = split_lines(b"hello\nworld\n"); |
| 517 | assert_eq!(lines.len(), 2); |
| 518 | assert_eq!(lines[0].content(), b"hello\n"); |
| 519 | assert_eq!(lines[1].content(), b"world\n"); |
| 520 | } |
| 521 | |
| 522 | #[test] |
| 523 | fn test_split_lines_empty() { |
nothing calls this directly
no test coverage detected