diff --git a/src/lib.rs b/src/lib.rs index 859e5ae..9ebc3b0 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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() {