()
| 890 | |
| 891 | #[test] |
| 892 | fn test_change_hunk_new() { |
| 893 | let hunk = ChangeHunk::new(10, 20, HunkKind::Inserted); |
| 894 | assert_eq!(hunk.start, 10); |
| 895 | assert_eq!(hunk.end, 20); |
| 896 | assert_eq!(hunk.kind, HunkKind::Inserted); |
| 897 | assert_eq!(hunk.len(), 10); |
| 898 | } |
| 899 | |
| 900 | #[test] |
| 901 | fn test_change_hunk_constructors() { |
nothing calls this directly
no outgoing calls
no test coverage detected