()
| 998 | |
| 999 | #[test] |
| 1000 | fn test_record_item_is_dir() { |
| 1001 | let mut item = RecordItem::new(PathBuf::from("directory"), Inode::new(1), Position::ROOT); |
| 1002 | |
| 1003 | assert!(!item.is_dir()); |
| 1004 | |
| 1005 | item.set_metadata(FileMetadata::directory()); |
| 1006 | assert!(item.is_dir()); |
| 1007 | } |
| 1008 | |
| 1009 | #[test] |
| 1010 | fn test_record_item_empty_basename() { |
nothing calls this directly
no test coverage detected