Skip to content

Commit

Permalink
Merge pull request #41 from subalterngames/child_paths_test
Browse files Browse the repository at this point in the history
fixed child paths test
  • Loading branch information
subalterngames authored Jun 14, 2024
2 parents 23543f6 + 99c78fc commit 256bcf0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/src/open_file/child_paths.rs
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ mod tests {
Some(ch) => ch != '.',
None => false,
});
assert_eq!(child_paths.children.len(), 14);
assert!(child_paths.children.len() > 0);
assert!(child_paths.selected.is_some());
assert_eq!(child_paths.selected.unwrap(), 0);
// Go "up" a directory.
Expand Down

0 comments on commit 256bcf0

Please sign in to comment.