Merge pull request #5541 from meilisearch/deactivate-numbers-in-typos-enhancements

Minor fixes: Deactivate numbers in typos
This commit is contained in:
Many the fish 2025-05-26 14:36:21 +00:00 committed by GitHub
commit a1ff41cabb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 10 additions and 20 deletions

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