1
0
Fork 0
mirror of https://gitlab.com/famedly/conduit.git synced 2025-06-27 16:35:59 +00:00

test:add entry for seamless remove of not existing key from database

This commit is contained in:
Tglman 2022-02-01 20:58:51 +00:00
parent 5591ce3e1b
commit 62f04d22e1

View file

@ -72,6 +72,8 @@ where
tree.remove(key).unwrap();
let read = tree.get(key).unwrap();
assert_eq!(read, None);
// Remove of not existing key should run seamless
tree.remove(key).unwrap();
}
fn batch_insert_get<T>(name: &str)