mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 04:17:10 +02:00
add search test on chinese scripts
This commit is contained in:
parent
748a8240dd
commit
0447594e02
3 changed files with 69 additions and 8 deletions
|
@ -597,7 +597,7 @@ mod tests {
|
|||
|
||||
let mut m = Vec::new();
|
||||
m.push(MatchPosition {
|
||||
start: 510,
|
||||
start: 529,
|
||||
length: 9,
|
||||
});
|
||||
matches.insert("description".to_string(), m);
|
||||
|
@ -613,6 +613,7 @@ mod tests {
|
|||
assert_eq!(result, result_expected);
|
||||
}
|
||||
|
||||
|
||||
#[test]
|
||||
fn highlight_longest_match() {
|
||||
let data = r#"{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue