From a3da680ce6273a0123dea74d4151a2d8e24c615b Mon Sep 17 00:00:00 2001 From: Tamo Date: Thu, 4 May 2023 14:51:17 +0200 Subject: [PATCH] Update meilisearch/tests/documents/errors.rs Co-authored-by: Louis Dureuil --- meilisearch/tests/documents/errors.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meilisearch/tests/documents/errors.rs b/meilisearch/tests/documents/errors.rs index d9c70d6ad..b72dc40f3 100644 --- a/meilisearch/tests/documents/errors.rs +++ b/meilisearch/tests/documents/errors.rs @@ -88,7 +88,8 @@ async fn get_all_documents_bad_filter() { let index = server.index("test"); // Since the filter can't be parsed automatically by deserr, we have the wrong error message - // if the index does not exists + // if the index does not exist: we could expect to get an error message about the invalid filter before + // the existence of the index is checked, but it is not the case. let (response, code) = index.get_all_documents_raw("?filter").await; snapshot!(code, @"404 Not Found"); snapshot!(json_string!(response), @r###"