()
| 992 | |
| 993 | #[test] |
| 994 | fn test_change_kind_metadata_only() { |
| 995 | let kind = FileChangeKind::MetadataOnly { |
| 996 | old_metadata: FileMetadata::file(), |
| 997 | new_metadata: FileMetadata::executable(), |
| 998 | }; |
| 999 | |
| 1000 | assert!(kind.is_metadata_only()); |
| 1001 | assert!(!kind.is_modified()); |
| 1002 | assert!(!kind.has_content_change()); |
| 1003 | assert!(kind.diff_ops().is_none()); |
| 1004 | } |
| 1005 | |
| 1006 | // FileChange Tests |
| 1007 |
nothing calls this directly
no outgoing calls
no test coverage detected