mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-06-09 13:45:43 +00:00
Apply suggestions from code review
Co-authored-by: Martin Grigorov <martin-g@users.noreply.github.com>
This commit is contained in:
parent
699ec18de8
commit
293a425183
@ -2045,7 +2045,7 @@ async fn test_exact_typos_terms() {
|
|||||||
}),
|
}),
|
||||||
&json!({"q": "12345"}),
|
&json!({"q": "12345"}),
|
||||||
|response, code| {
|
|response, code| {
|
||||||
assert_eq!(code, 200, "{}", response);
|
assert_eq!(code, 200, "{response}");
|
||||||
snapshot!(json_string!(response["hits"]), @r###"
|
snapshot!(json_string!(response["hits"]), @r###"
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
@ -2080,7 +2080,7 @@ async fn test_exact_typos_terms() {
|
|||||||
}),
|
}),
|
||||||
&json!({"q": "123457"}),
|
&json!({"q": "123457"}),
|
||||||
|response, code| {
|
|response, code| {
|
||||||
assert_eq!(code, 200, "{}", response);
|
assert_eq!(code, 200, "{response}");
|
||||||
snapshot!(json_string!(response["hits"]), @r###"[]"###);
|
snapshot!(json_string!(response["hits"]), @r###"[]"###);
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user