diff --git a/src/settings.rs b/src/settings.rs index 99b9021c..63e47c59 100644 --- a/src/settings.rs +++ b/src/settings.rs @@ -2358,16 +2358,15 @@ mod tests { #[meilisearch_test] async fn test_set_non_separator_tokens(client: Client, index: Index) { - let expected: Vec = vec![ "#".to_string(), "@".to_string()]; + let expected: Vec = vec![ "@".to_string(), "#".to_string()]; let task_info = index - .set_non_separator_tokens(&vec!["@".to_string(), "#".to_string()]) + .set_non_separator_tokens(&expected) .await .unwrap(); client.wait_for_task(task_info, None, None).await.unwrap(); let mut res = index.get_non_separator_tokens().await.unwrap(); - res.reverse(); assert_eq!(expected, res); }