fix test + update comment
Some checks failed
Deny / audit (push) Has been cancelled

This commit is contained in:
Boog900 2024-12-18 22:20:29 +00:00
parent cab3eccfda
commit 2d1880a569
No known key found for this signature in database
GPG key ID: 42AB1287CB0041C2

View file

@ -235,10 +235,7 @@ fn db_read_write() {
assert_eq!(i, N); assert_eq!(i, N);
} }
// `get_range()` tests. // iter tests.
let mut key = KEY;
key += N;
let range = KEY..key;
// Assert count is correct. // Assert count is correct.
assert_eq!(N as usize, table_ro.values().unwrap().count()); assert_eq!(N as usize, table_ro.values().unwrap().count());