add last_id to Entry, PohEntry (#1783)

add prev_id to Entry, PohEntry
This commit is contained in:
Rob Walker
2018-11-12 17:03:23 -08:00
committed by GitHub
parent 851e012c6c
commit fa72160c95
5 changed files with 82 additions and 47 deletions

View File

@@ -1670,8 +1670,12 @@ mod tests {
let zero = Hash::default();
let one = hash(&zero.as_ref());
writer
.write_entries(&vec![Entry::new_tick(0, &zero), Entry::new_tick(0, &one)].to_vec())
.unwrap();
.write_entries(
&vec![
Entry::new_tick(&zero, 0, &zero),
Entry::new_tick(&one, 0, &one),
].to_vec(),
).unwrap();
path
}