()
| 1019 | |
| 1020 | #[test] |
| 1021 | fn test_record_item_deep_path() { |
| 1022 | let item = RecordItem::new( |
| 1023 | PathBuf::from("a/b/c/d/e/file.txt"), |
| 1024 | Inode::new(1), |
| 1025 | Position::ROOT, |
| 1026 | ); |
| 1027 | assert_eq!(item.basename(), "file.txt"); |
| 1028 | assert_eq!(item.path_string(), "a/b/c/d/e/file.txt"); |
| 1029 | } |
| 1030 | |
| 1031 | #[test] |
| 1032 | fn test_record_item_equality() { |
nothing calls this directly
no outgoing calls
no test coverage detected