Skip to content

Commit

Permalink
keyutils passing test
Browse files Browse the repository at this point in the history
fmt
  • Loading branch information
Nick Wimmers committed May 3, 2024
1 parent 2e30071 commit a168fb1
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/keyutils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -524,9 +524,10 @@ mod tests {
.set_password(password)
.expect("Not a keyutils credential");
let query = format!("keyring-rs:{}@{}", name, name);
let result = Search::new()
.expect("Failed to build search")
.by("session", &query);
let result = Search {
inner: Box::new(super::KeyutilsCredentialSearch {}),
}
.by("session", &query);
let list = List::list_credentials(result, Limit::All)
.expect("Failed to parse string from HashMap result");

Expand Down

0 comments on commit a168fb1

Please sign in to comment.