summaryrefslogtreecommitdiffstats
path: root/src/remake/snapshot.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/remake/snapshot.rs')
-rw-r--r--src/remake/snapshot.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/remake/snapshot.rs b/src/remake/snapshot.rs
index 3c180ba..20569e0 100644
--- a/src/remake/snapshot.rs
+++ b/src/remake/snapshot.rs
@@ -750,7 +750,8 @@ mod tests {
assert!(verify_document(&mut fetched, wrong).is_err());
let own = late.get_actor().clone();
- let missing = delta::missing_from_snapshot(&mut late, &metadata.clock, &own);
+ let missing =
+ delta::missing_from_snapshot(&mut late, &metadata.clock, std::slice::from_ref(&own));
assert_eq!(missing.own, 1);
let heads = late.get_heads();
let mut adopted = fetched.with_actor(ActorId::from(&b"late-node-next"[..]));