()
| 1172 | |
| 1173 | #[test] |
| 1174 | fn test_item_with_metadata() { |
| 1175 | let item = TreeItem::file("script.sh", Inode::ROOT, Position::ROOT) |
| 1176 | .with_metadata(FileMetadata::executable()); |
| 1177 | |
| 1178 | assert!(item.metadata.is_executable()); |
| 1179 | } |
| 1180 | |
| 1181 | #[test] |
| 1182 | fn test_item_filename() { |
nothing calls this directly
no test coverage detected