()
| 376 | |
| 377 | #[test] |
| 378 | fn test_new_line_without_newline() { |
| 379 | let line = Line::new(b"hello"); |
| 380 | assert_eq!(line.content(), b"hello"); |
| 381 | assert!(!line.has_trailing_newline()); |
| 382 | } |
| 383 | |
| 384 | #[test] |
| 385 | fn test_new_last() { |
nothing calls this directly
no outgoing calls
no test coverage detected