Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

chore: files changed crates/openhuman-core/src/storage/lease_local_tests.rs

Steven Enamakel50f1276b3218
diff --git a/crates/openhuman-core/src/storage/lease_local_tests.rs b/crates/openhuman-core/src/storage/lease_local_tests.rs
index 5f55a24105..f5404b28ee 100644
--- a/crates/openhuman-core/src/storage/lease_local_tests.rs
+++ b/crates/openhuman-core/src/storage/lease_local_tests.rs
@@ -142,7 +142,7 @@ async fn releasing_a_key_whose_directory_moved_away_drops_the_stale_holding() {
// A fresh directory: `a` takes the real lock again instead of answering
// from a holding on the archived file, so `b` is held out.
let again = a.acquire("moved", 1).await.unwrap();
- assert_eq!(again.previous_unclean, false);
+ assert!(!again.previous_unclean);
assert!(matches!(
b.acquire("moved", 2).await,
Err(LeaseError::Held(_))