diff --git a/src/engine/strat_engine/backstore/backstore/v1.rs b/src/engine/strat_engine/backstore/backstore/v1.rs index 07066c85c5..69f3858735 100644 --- a/src/engine/strat_engine/backstore/backstore/v1.rs +++ b/src/engine/strat_engine/backstore/backstore/v1.rs @@ -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}) diff --git a/src/engine/strat_engine/backstore/backstore/v2.rs b/src/engine/strat_engine/backstore/backstore/v2.rs index 5d4d6f99eb..dad875f664 100644 --- a/src/engine/strat_engine/backstore/backstore/v2.rs +++ b/src/engine/strat_engine/backstore/backstore/v2.rs @@ -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})