mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-03 11:57:07 +02: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
1 changed files with 2 additions and 2 deletions
|
@ -2045,7 +2045,7 @@ async fn test_exact_typos_terms() {
|
|||
}),
|
||||
&json!({"q": "12345"}),
|
||||
|response, code| {
|
||||
assert_eq!(code, 200, "{}", response);
|
||||
assert_eq!(code, 200, "{response}");
|
||||
snapshot!(json_string!(response["hits"]), @r###"
|
||||
[
|
||||
{
|
||||
|
@ -2080,7 +2080,7 @@ async fn test_exact_typos_terms() {
|
|||
}),
|
||||
&json!({"q": "123457"}),
|
||||
|response, code| {
|
||||
assert_eq!(code, 200, "{}", response);
|
||||
assert_eq!(code, 200, "{response}");
|
||||
snapshot!(json_string!(response["hits"]), @r###"[]"###);
|
||||
},
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue