test: add flatpak_slack

This commit is contained in:
Michael Aaron Murphy 2025-11-24 22:06:46 +01:00
parent 7173f91ccb
commit db4d26e591
No known key found for this signature in database
GPG key ID: B2732D4240C9212C

View file

@ -515,6 +515,19 @@ mod test {
));
}
#[test]
fn flatpak_slack() {
let home = std::env::home_dir().unwrap();
assert_eq!(
lookup("com.slack.Slack").find(),
Some(home.join(
".local/share/flatpak/exports/share/icons/hicolor/scalable/apps/com.slack.Slack.svg"
)),
"Is the Slack flatpak installed locally?"
);
}
#[test]
#[cfg(feature = "local_tests")]
fn theme_lookup() {