Merge pull request #96 from lilyinstarlight/fix/cargo-test

Fix cargo test after item path became optional
This commit is contained in:
Jeremy Soller 2024-03-22 07:57:08 -06:00 committed by GitHub
commit 02542b88eb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2017,7 +2017,7 @@ pub(crate) mod test_utils {
name == item.name
&& is_dir == item.metadata.is_dir()
&& path == item.path
&& path == item.path_opt.as_ref().expect("item should have path")
&& is_hidden == item.hidden
}