test: add flatpak_slack
This commit is contained in:
parent
7173f91ccb
commit
db4d26e591
1 changed files with 13 additions and 0 deletions
13
src/lib.rs
13
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() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue