Fix project panel test helper
This commit is contained in:
parent
ffb0a215ea
commit
9ad1ebf387
1 changed files with 1 additions and 1 deletions
|
@ -2371,7 +2371,7 @@ mod tests {
|
||||||
}
|
}
|
||||||
|
|
||||||
let indent = " ".repeat(details.depth);
|
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 {
|
if details.is_expanded {
|
||||||
"v "
|
"v "
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue