Skip to content

Commit

Permalink
chore: rename cov message
Browse files Browse the repository at this point in the history
  • Loading branch information
zxch3n committed Oct 8, 2024
1 parent b339a19 commit 053f620
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/loro-internal/src/encoding/fast_snapshot.rs
Original file line number Diff line number Diff line change
Expand Up @@ -124,10 +124,10 @@ pub(crate) fn decode_snapshot(doc: &LoroDoc, bytes: Bytes) -> LoroResult<()> {
});

if need_calc {
ensure_cov::notify_cov("trimmed_snapshot::need_calc");
ensure_cov::notify_cov("shallow_snapshot::need_calc");
state_frontiers = shallow_root_state_frontiers.unwrap();
} else {
ensure_cov::notify_cov("trimmed_snapshot::dont_need_calc");
ensure_cov::notify_cov("shallow_snapshot::dont_need_calc");
state_frontiers = oplog.frontiers().clone();
}
}
Expand Down

0 comments on commit 053f620

Please sign in to comment.