()
| 438 | |
| 439 | #[test] |
| 440 | fn test_content_without_newline() { |
| 441 | let with_newline = Line::new(b"hello\n"); |
| 442 | let without_newline = Line::new(b"hello"); |
| 443 | |
| 444 | assert_eq!(with_newline.content_without_newline(), b"hello"); |
| 445 | assert_eq!(without_newline.content_without_newline(), b"hello"); |
| 446 | } |
| 447 | |
| 448 | #[test] |
| 449 | fn test_equality_same() { |
nothing calls this directly
no outgoing calls
no test coverage detected