()
| 816 | |
| 817 | #[test] |
| 818 | fn test_display_line_no_newline() { |
| 819 | let line = DisplayLine::new(LineStatus::Unchanged, b"hello", Some(1), Some(1)); |
| 820 | assert_eq!(line.content, "hello"); |
| 821 | assert!(!line.has_newline); |
| 822 | } |
| 823 | |
| 824 | #[test] |
| 825 | fn test_unified_diff_identical() { |
nothing calls this directly
no outgoing calls
no test coverage detected