ArchiveDB: add a contains() test for long history test case
This commit is contained in:
parent
ed20fa4da1
commit
7f07f7d567
@ -239,6 +239,7 @@ mod tests {
|
||||
jdb.commit_batch(3, &b"3".sha3(), Some((0, b"0".sha3()))).unwrap();
|
||||
assert!(jdb.contains(&h));
|
||||
jdb.commit_batch(4, &b"4".sha3(), Some((1, b"1".sha3()))).unwrap();
|
||||
assert!(jdb.contains(&h));
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
Loading…
Reference in New Issue
Block a user