Skip to content

Commit 54194be

Browse files
committed
!fixup
1 parent 31b65ca commit 54194be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/matrix-sdk-common/src/cross_process_lock.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -811,7 +811,7 @@ mod tests {
811811
// Check it's not dirty.
812812
let guard1 = lock1.try_lock_once().await?.expect("lock must be obtained successfully");
813813
assert_matches!(guard1, CrossProcessLockState::Clean(_));
814-
assert!(lock1.is_dirty());
814+
assert!(lock1.is_dirty().not());
815815

816816
// Continue to test with `lock2`, then again with `lock1` to trigger another
817817
// generation.

0 commit comments

Comments
 (0)