Skip to content

Commit

Permalink
Merge pull request #3704 from mulkieran/matches_to_assert_matches
Browse files Browse the repository at this point in the history
Change matches macro expansion to assert_matches
  • Loading branch information
mulkieran authored Oct 15, 2024
2 parents d7e1805 + 13058d0 commit 586dad0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/engine/strat_engine/backstore/backstore/v1.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1321,7 +1321,7 @@ mod tests {
.unwrap();
cmd::udev_settle().unwrap();

matches!(
assert_matches!(
backstore.bind_clevis(
"tang",
&json!({"url": env::var("TANG_URL").expect("TANG_URL env var required"), "stratis:tang:trust_url": true})
Expand Down
2 changes: 1 addition & 1 deletion src/engine/strat_engine/backstore/backstore/v2.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1421,7 +1421,7 @@ mod tests {
backstore.alloc(pool_uuid, &[Sectors(512)]).unwrap();
cmd::udev_settle().unwrap();

matches!(
assert_matches!(
backstore.bind_clevis(
"tang",
&json!({"url": env::var("TANG_URL").expect("TANG_URL env var required"), "stratis:tang:trust_url": true})
Expand Down

0 comments on commit 586dad0

Please sign in to comment.