()
| 1042 | |
| 1043 | #[test] |
| 1044 | fn test_file_change_moved() { |
| 1045 | let change = FileChange::moved( |
| 1046 | "new/path.rs", |
| 1047 | "old/path.rs", |
| 1048 | Inode::ROOT, |
| 1049 | Position::ROOT, |
| 1050 | false, |
| 1051 | None, |
| 1052 | ); |
| 1053 | |
| 1054 | assert_eq!(change.path, "new/path.rs"); |
| 1055 | assert!(change.kind.is_moved()); |
| 1056 | } |
| 1057 | |
| 1058 | #[test] |
| 1059 | fn test_file_change_metadata_only() { |
nothing calls this directly
no outgoing calls
no test coverage detected