Skip to content

Commit 9159a59

Browse files
committed
crypto: Fix typo bug in integration tests
1 parent 69ac7e0 commit 9159a59

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/matrix-sdk-crypto/src/store/integration_tests.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -426,13 +426,13 @@ macro_rules! cryptostore_integration_tests {
426426
let loaded_alice =
427427
loaded.get(alice).expect("Alice should be in the store as a tracked user");
428428
let loaded_bob =
429-
loaded.get(alice).expect("Bob should be in the store as as tracked user");
429+
loaded.get(bob).expect("Bob should be in the store as as tracked user");
430430

431431
assert!(!loaded.contains_key(candy), "Candy shouldn't be part of the store");
432432
assert_eq!(loaded.len(), 2, "Candy shouldn't be part of the store");
433433

434434
assert!(loaded_alice.dirty, "Alice should be considered to be dirty");
435-
assert!(loaded_alice.dirty, "Bob should not be considered to be dirty");
435+
assert!(!loaded_bob.dirty, "Bob should not be considered to be dirty");
436436
};
437437

438438
let loaded = store.load_tracked_users().await.unwrap();

0 commit comments

Comments
 (0)