Skip to content

Commit

Permalink
[app_util] Add tests
Browse files Browse the repository at this point in the history
  • Loading branch information
m4heshd committed Apr 15, 2024
1 parent addaf93 commit 1e5482d
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions backend/src/app_util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -86,3 +86,17 @@ pub async fn check_app_update() -> anyhow::Result<JSON> {
}))
}
}

/*************
* Tests *
*************/

#[cfg(test)]
mod tests {
use super::is_container;

#[test]
fn unit_is_container() {
assert!(!is_container());
}
}

0 comments on commit 1e5482d

Please sign in to comment.