Fix the inta-snapshot typos in the tests

This commit is contained in:
Kerollmops 2022-10-25 10:18:18 +02:00 committed by Clément Renault
parent c641888a23
commit 901c405919
No known key found for this signature in database
GPG Key ID: 92ADA4E935E71FA4

View File

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