()
| 1058 | |
| 1059 | #[test] |
| 1060 | fn install_source_short_labels() { |
| 1061 | assert_eq!(InstallSource::Cargo.short_label(), "cargo"); |
| 1062 | assert_eq!(InstallSource::Manual.short_label(), "manual"); |
| 1063 | assert_eq!(InstallSource::Unknown.short_label(), "unknown"); |
| 1064 | assert_eq!( |
| 1065 | InstallSource::Homebrew { |
| 1066 | prefix: PathBuf::from("/x"), |
| 1067 | } |
| 1068 | .short_label(), |
| 1069 | "homebrew" |
| 1070 | ); |
| 1071 | } |
| 1072 | } |
nothing calls this directly
no outgoing calls
no test coverage detected