()
| 1057 | |
| 1058 | #[test] |
| 1059 | fn test_file_change_metadata_only() { |
| 1060 | let change = FileChange::metadata_only( |
| 1061 | "test.rs", |
| 1062 | Inode::ROOT, |
| 1063 | Position::ROOT, |
| 1064 | FileMetadata::file(), |
| 1065 | FileMetadata::executable(), |
| 1066 | ); |
| 1067 | |
| 1068 | assert!(change.kind.is_metadata_only()); |
| 1069 | assert!(change.metadata.is_some()); |
| 1070 | } |
| 1071 | |
| 1072 | #[test] |
| 1073 | fn test_file_change_with_metadata() { |
nothing calls this directly
no outgoing calls
no test coverage detected