Fixed test

This commit is contained in:
arkpar 2016-03-13 11:55:48 +01:00
parent ff51d0fa67
commit 1131618630
2 changed files with 2 additions and 2 deletions

View File

@ -575,7 +575,7 @@ mod tests {
jdb.remove(&bar);
jdb.commit(0, &b"0b".sha3(), None).unwrap();
assert!(jdb.can_reconstruct_refs());
jdb.commit(2, &b"1".sha3(), Some((1, b"1".sha3()))).unwrap();
jdb.commit(2, &b"2".sha3(), Some((1, b"1".sha3()))).unwrap();
assert!(jdb.exists(&foo));
assert!(jdb.exists(&bar));

View File

@ -885,7 +885,7 @@ mod tests {
jdb.remove(&bar);
jdb.commit(0, &b"0b".sha3(), None).unwrap();
assert!(jdb.can_reconstruct_refs());
jdb.commit(2, &b"1".sha3(), Some((1, b"1".sha3()))).unwrap();
jdb.commit(2, &b"2".sha3(), Some((1, b"1".sha3()))).unwrap();
assert!(jdb.exists(&foo));
assert!(jdb.exists(&bar));