Apply suggestions from code review

Co-authored-by: Martin Grigorov <martin-g@users.noreply.github.com>
This commit is contained in:
Many the fish 2025-05-20 14:17:27 +02:00 committed by ManyTheFish
parent 699ec18de8
commit 293a425183

View File

@ -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###"[]"###);
},
)