()
| 809 | |
| 810 | #[test] |
| 811 | fn test_display_line_crlf() { |
| 812 | let line = DisplayLine::new(LineStatus::Unchanged, b"hello\r\n", Some(1), Some(1)); |
| 813 | assert_eq!(line.content, "hello"); |
| 814 | assert!(line.has_newline); |
| 815 | } |
| 816 | |
| 817 | #[test] |
| 818 | fn test_display_line_no_newline() { |
nothing calls this directly
no outgoing calls
no test coverage detected