Skip to content

Commit

Permalink
Adjust code style of a list_mounts test.
Browse files Browse the repository at this point in the history
  • Loading branch information
panhania committed Oct 20, 2023
1 parent 9637009 commit c664a27
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions crates/rrg/src/action/list_mounts.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,10 @@ mod tests {
use super::*;

#[test]
fn test_if_any_filesystem_exists() {
fn handle_some_mount() {
let mut session = crate::session::FakeSession::new();
assert!(handle(&mut session, ()).is_ok());
assert_ne!(session.reply_count(), 0);

assert!(session.reply_count() > 0);
}
}

0 comments on commit c664a27

Please sign in to comment.