mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-07-27 00:31:02 +00:00
add search test on chinese scripts
This commit is contained in:
@ -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#"{
|
||||
|
Reference in New Issue
Block a user