diff --git a/yazi-fs/src/fns.rs b/yazi-fs/src/fns.rs index 3932c86b..61239627 100644 --- a/yazi-fs/src/fns.rs +++ b/yazi-fs/src/fns.rs @@ -53,6 +53,8 @@ pub fn max_common_root(urls: &[UrlBuf]) -> usize { #[cfg(unix)] #[test] fn test_max_common_root() { + yazi_shared::init_tests(); + fn assert(input: &[&str], expected: &str) { use std::{ffi::OsStr, str::FromStr}; let urls: Vec<_> =