()
| 973 | |
| 974 | #[test] |
| 975 | fn test_display_line_display_trait() { |
| 976 | let line = DisplayLine::new(LineStatus::Added, b"hello\n", None, Some(1)); |
| 977 | let s = format!("{}", line); |
| 978 | assert!(s.contains("+")); |
| 979 | assert!(s.contains("hello")); |
| 980 | } |
| 981 | |
| 982 | #[test] |
| 983 | fn test_total_lines() { |
nothing calls this directly
no outgoing calls
no test coverage detected