mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-11-26 23:04:26 +01:00
add more tests
This commit is contained in:
parent
56fceb1928
commit
be75e738b1
@ -222,6 +222,22 @@ mod tests {
|
||||
TestBytesToHighlight { query: "Båve", text: "Chiøt", length: "Bå".len() },
|
||||
TestBytesToHighlight { query: "💪🙂🍤", text: "plouf", length: "💪🙂".len() },
|
||||
TestBytesToHighlight { query: "clôu¿i", text: "bloubi", length: "clôu".len() },
|
||||
TestBytesToHighlight {
|
||||
query: "Альфа", text: "Альфой", length: "Альфа".len()
|
||||
},
|
||||
TestBytesToHighlight {
|
||||
query: "Go💼", text: "Go💼od luck.", length: "Go💼".len()
|
||||
},
|
||||
TestBytesToHighlight {
|
||||
query: "Go💼od", text: "Go💼od luck.", length: "Go💼od".len()
|
||||
},
|
||||
TestBytesToHighlight {
|
||||
query: "chäräcters",
|
||||
text: "chäräcters",
|
||||
length: "chäräcters".len(),
|
||||
},
|
||||
TestBytesToHighlight { query: "ch", text: "chäräcters", length: "ch".len() },
|
||||
TestBytesToHighlight { query: "chär", text: "chäräcters", length: "chär".len() },
|
||||
];
|
||||
|
||||
for test in &tests {
|
||||
|
Loading…
Reference in New Issue
Block a user