()
| 920 | |
| 921 | #[test] |
| 922 | fn test_change_hunk_is_empty() { |
| 923 | let empty = ChangeHunk::new(5, 5, HunkKind::Deleted); |
| 924 | assert!(empty.is_empty()); |
| 925 | assert_eq!(empty.len(), 0); |
| 926 | |
| 927 | let non_empty = ChangeHunk::new(5, 10, HunkKind::Deleted); |
| 928 | assert!(!non_empty.is_empty()); |
| 929 | } |
| 930 | |
| 931 | #[test] |
| 932 | fn test_change_hunk_is_change() { |
nothing calls this directly
no outgoing calls
no test coverage detected