Fix the inta-snapshot typos in the tests

This commit is contained in:
Kerollmops 2022-10-25 10:18:18 +02:00 committed by Tamo
parent 2676268804
commit 7d92614dcb

View File

@ -144,7 +144,7 @@ pub fn snapshot_task(task: &Task) -> String {
snap.push_str(&format!("error: {error:?}, "));
}
if let Some(details) = details {
snap.push_str(&format!("details: {}, ", &snaphsot_details(details)));
snap.push_str(&format!("details: {}, ", &snapshot_details(details)));
}
snap.push_str(&format!("kind: {kind:?}"));
@ -152,7 +152,7 @@ pub fn snapshot_task(task: &Task) -> String {
snap
}
fn snaphsot_details(d: &Details) -> String {
fn snapshot_details(d: &Details) -> String {
match d {
Details::DocumentAdditionOrUpdate {
received_documents,