We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 31b65ca commit 54194beCopy full SHA for 54194be
crates/matrix-sdk-common/src/cross_process_lock.rs
@@ -811,7 +811,7 @@ mod tests {
811
// Check it's not dirty.
812
let guard1 = lock1.try_lock_once().await?.expect("lock must be obtained successfully");
813
assert_matches!(guard1, CrossProcessLockState::Clean(_));
814
- assert!(lock1.is_dirty());
+ assert!(lock1.is_dirty().not());
815
816
// Continue to test with `lock2`, then again with `lock1` to trigger another
817
// generation.
0 commit comments