From d19bc6ec7435243adbfdbeb6a0f524cef2e83a1f Mon Sep 17 00:00:00 2001 From: Samuel Jimenez Date: Mon, 24 Aug 2020 18:06:25 +0200 Subject: [PATCH 1/2] Update readme compatibility --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index baddf916..1d77b991 100644 --- a/README.md +++ b/README.md @@ -149,6 +149,7 @@ JSON output: ## 🤖 Compatibility with MeiliSearch This package is compatible with the following MeiliSearch versions: +- `v0.14.0` - `v0.13.0` ## 🎬 Examples From a9e8077c78a6902fc8aa0c836d9422cffadce98a Mon Sep 17 00:00:00 2001 From: Samuel Jimenez Date: Wed, 26 Aug 2020 14:46:50 +0200 Subject: [PATCH 2/2] Fix test: facets distribution case --- client_search_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client_search_test.go b/client_search_test.go index b0ffcac7..58edb276 100644 --- a/client_search_test.go +++ b/client_search_test.go @@ -269,8 +269,8 @@ func TestClientSearch_Search(t *testing.T) { t.Fatal("facetsDistribution: Wrong count of facet options") } - if tagCount.(map[string]interface{})["interesting book"] != float64(2) { - fmt.Println(tagCount.(map[string]interface{})["interesting book"]) + if tagCount.(map[string]interface{})["Interesting book"] != float64(2) { + fmt.Println(tagCount.(map[string]interface{})["Interesting book"]) t.Fatal("facetsDistribution: Wrong count on facetDistribution") }