From c79ca9679b99f8655ab6017995f7f3d52ea7deb0 Mon Sep 17 00:00:00 2001 From: Pedro Turik Firmino Date: Sat, 2 Nov 2024 18:25:33 -0300 Subject: [PATCH] Changes variable name to re-run CI --- crates/meilisearch/tests/documents/get_documents.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/crates/meilisearch/tests/documents/get_documents.rs b/crates/meilisearch/tests/documents/get_documents.rs index 88251aad9..02b99b016 100644 --- a/crates/meilisearch/tests/documents/get_documents.rs +++ b/crates/meilisearch/tests/documents/get_documents.rs @@ -120,8 +120,8 @@ async fn get_all_documents_no_options() { let (response, code) = index.get_all_documents(GetAllDocumentsOptions::default()).await; assert_eq!(code, 200); - let arr = response["results"].as_array().unwrap(); - assert_eq!(arr.len(), 20); + let results = response["results"].as_array().unwrap(); + assert_eq!(results.len(), 20); let first = json!({ "id":0, "isActive":false, @@ -140,7 +140,7 @@ async fn get_all_documents_no_options() { "longitude":-145.725388, "tags":["bug" ,"bug"]}); - assert_eq!(first, arr[0]); + assert_eq!(first, results[0]); } #[actix_rt::test]