diff --git a/yazi-cli/src/package/package.rs b/yazi-cli/src/package/package.rs index 99b1dfd0..73447202 100644 --- a/yazi-cli/src/package/package.rs +++ b/yazi-cli/src/package/package.rs @@ -80,22 +80,6 @@ impl Package { mod tests { use super::*; - #[test] - fn test_adds_yazi_suffix() { - // if a package doesn't have a suffix, it should add ".yazi" to the end - let package = Package::new("abcd/my-plugin.yazi", None); - assert_eq!(package, Package { - repo: "abcd/my-plugin.yazi".to_owned(), - child: "".to_owned(), - commit: "".to_owned(), - is_flavor: false, - }); - - assert_eq!(package.use_(), "abcd/my-plugin.yazi"); - assert_eq!(package.name(), Some("my-plugin.yazi")); - assert_eq!(package.remote(), "https://github.com/abcd/my-plugin.yazi.git"); - } - #[test] fn test_supports_subdirectories() { let package = Package::new("yazi-rs/flavors#catppuccin-mocha.yazi", None);