Fix project panel test helper

This commit is contained in:
Max Brunsfeld 2023-06-22 17:02:01 -07:00
parent ffb0a215ea
commit 9ad1ebf387

View file

@ -2371,7 +2371,7 @@ mod tests {
}
let indent = " ".repeat(details.depth);
let icon = if matches!(details.kind, EntryKind::Dir | EntryKind::PendingDir) {
let icon = if details.kind.is_dir() {
if details.is_expanded {
"v "
} else {