()
| 924 | |
| 925 | #[test] |
| 926 | fn test_change_kind_added() { |
| 927 | let kind = FileChangeKind::Added { |
| 928 | encoding: Encoding::Utf8, |
| 929 | }; |
| 930 | |
| 931 | assert!(kind.is_added()); |
| 932 | assert!(!kind.is_modified()); |
| 933 | assert!(!kind.is_deleted()); |
| 934 | assert!(!kind.is_moved()); |
| 935 | assert!(!kind.is_metadata_only()); |
| 936 | assert!(kind.has_content_change()); |
| 937 | assert!(kind.diff_ops().is_none()); |
| 938 | } |
| 939 | |
| 940 | #[test] |
| 941 | fn test_change_kind_modified() { |
nothing calls this directly
no outgoing calls
no test coverage detected