mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-11-23 05:14:27 +01:00
Fix the inta-snapshot typos in the tests
This commit is contained in:
parent
c641888a23
commit
901c405919
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user