cultcache-rs: correct the own-writes test's count
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
a38a2fb6f8
commit
d5824a854c
1 changed files with 1 additions and 1 deletions
|
|
@ -547,7 +547,7 @@ fn last_read_follows_this_handles_own_writes() {
|
|||
cache.put("a", &unique("A2")).unwrap();
|
||||
assert!(cache.delete::<Unique>("c").unwrap());
|
||||
cache.put("e", &unique("C")).unwrap();
|
||||
assert_eq!(reader(&kind, dir.path()).get_all_with_keys::<Unique>().unwrap().len(), 5);
|
||||
assert_eq!(reader(&kind, dir.path()).get_all_with_keys::<Unique>().unwrap().len(), 4);
|
||||
}
|
||||
// update on the single-file store keeps it current too.
|
||||
let dir = tempfile::tempdir().unwrap();
|
||||
|
|
|
|||
Loading…
Reference in a new issue