()
| 1189 | |
| 1190 | #[test] |
| 1191 | fn test_item_parent_path() { |
| 1192 | let item = TreeItem::file("src/lib/mod.rs", Inode::ROOT, Position::ROOT); |
| 1193 | assert_eq!(item.parent_path(), "src/lib"); |
| 1194 | |
| 1195 | let root_file = TreeItem::file("Cargo.toml", Inode::ROOT, Position::ROOT); |
| 1196 | assert_eq!(root_file.parent_path(), ""); |
| 1197 | } |
| 1198 | |
| 1199 | #[test] |
| 1200 | fn test_item_is_hidden() { |
nothing calls this directly
no outgoing calls
no test coverage detected