From e51e5cf53907fdafacf69f6c9660bff9a0222536 Mon Sep 17 00:00:00 2001 From: algolia-bot Date: Mon, 10 Jul 2023 12:34:27 +0000 Subject: [PATCH] chore: generated code for commit 27e2a8e7a32b08ebfcabcf63f0fc41a9150148bd. [skip ci] MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Clément Vannicatte --- tests/output/go/tests/methods/requests/analytics_test.go | 3 +++ tests/output/go/tests/methods/requests/ingestion_test.go | 3 +++ tests/output/go/tests/methods/requests/insights_test.go | 3 +++ tests/output/go/tests/methods/requests/personalization_test.go | 3 +++ tests/output/go/tests/methods/requests/predict_test.go | 3 +++ .../output/go/tests/methods/requests/query-suggestions_test.go | 3 +++ tests/output/go/tests/methods/requests/recommend_test.go | 3 +++ tests/output/go/tests/methods/requests/search_test.go | 3 +++ 8 files changed, 24 insertions(+) diff --git a/tests/output/go/tests/methods/requests/analytics_test.go b/tests/output/go/tests/methods/requests/analytics_test.go index 9a4ebda7cdf..95f4cf88762 100644 --- a/tests/output/go/tests/methods/requests/analytics_test.go +++ b/tests/output/go/tests/methods/requests/analytics_test.go @@ -21,6 +21,9 @@ func createAnalyticsClient() (*analytics.APIClient, *echoRequester) { } client := analytics.NewClientWithConfig(cfg) + // so that the linter doesn't complain + _ = jsonassert.New(nil) + return client, echo } diff --git a/tests/output/go/tests/methods/requests/ingestion_test.go b/tests/output/go/tests/methods/requests/ingestion_test.go index 888cd227ac5..0f62ce3ea59 100644 --- a/tests/output/go/tests/methods/requests/ingestion_test.go +++ b/tests/output/go/tests/methods/requests/ingestion_test.go @@ -21,6 +21,9 @@ func createIngestionClient() (*ingestion.APIClient, *echoRequester) { } client := ingestion.NewClientWithConfig(cfg) + // so that the linter doesn't complain + _ = jsonassert.New(nil) + return client, echo } diff --git a/tests/output/go/tests/methods/requests/insights_test.go b/tests/output/go/tests/methods/requests/insights_test.go index f7d25365ae7..9fcdbbd1e55 100644 --- a/tests/output/go/tests/methods/requests/insights_test.go +++ b/tests/output/go/tests/methods/requests/insights_test.go @@ -21,6 +21,9 @@ func createInsightsClient() (*insights.APIClient, *echoRequester) { } client := insights.NewClientWithConfig(cfg) + // so that the linter doesn't complain + _ = jsonassert.New(nil) + return client, echo } diff --git a/tests/output/go/tests/methods/requests/personalization_test.go b/tests/output/go/tests/methods/requests/personalization_test.go index 110930a1c9f..5e43bdd4031 100644 --- a/tests/output/go/tests/methods/requests/personalization_test.go +++ b/tests/output/go/tests/methods/requests/personalization_test.go @@ -21,6 +21,9 @@ func createPersonalizationClient() (*personalization.APIClient, *echoRequester) } client := personalization.NewClientWithConfig(cfg) + // so that the linter doesn't complain + _ = jsonassert.New(nil) + return client, echo } diff --git a/tests/output/go/tests/methods/requests/predict_test.go b/tests/output/go/tests/methods/requests/predict_test.go index f0b9ba5c17a..a5068295855 100644 --- a/tests/output/go/tests/methods/requests/predict_test.go +++ b/tests/output/go/tests/methods/requests/predict_test.go @@ -21,6 +21,9 @@ func createPredictClient() (*predict.APIClient, *echoRequester) { } client := predict.NewClientWithConfig(cfg) + // so that the linter doesn't complain + _ = jsonassert.New(nil) + return client, echo } diff --git a/tests/output/go/tests/methods/requests/query-suggestions_test.go b/tests/output/go/tests/methods/requests/query-suggestions_test.go index 54ba4d3f974..3beb2ecb588 100644 --- a/tests/output/go/tests/methods/requests/query-suggestions_test.go +++ b/tests/output/go/tests/methods/requests/query-suggestions_test.go @@ -21,6 +21,9 @@ func createSuggestionsClient() (*suggestions.APIClient, *echoRequester) { } client := suggestions.NewClientWithConfig(cfg) + // so that the linter doesn't complain + _ = jsonassert.New(nil) + return client, echo } diff --git a/tests/output/go/tests/methods/requests/recommend_test.go b/tests/output/go/tests/methods/requests/recommend_test.go index 107a8037625..c99181b91e7 100644 --- a/tests/output/go/tests/methods/requests/recommend_test.go +++ b/tests/output/go/tests/methods/requests/recommend_test.go @@ -20,6 +20,9 @@ func createRecommendClient() (*recommend.APIClient, *echoRequester) { } client := recommend.NewClientWithConfig(cfg) + // so that the linter doesn't complain + _ = jsonassert.New(nil) + return client, echo } diff --git a/tests/output/go/tests/methods/requests/search_test.go b/tests/output/go/tests/methods/requests/search_test.go index 0e849eb215c..55a7ef25596 100644 --- a/tests/output/go/tests/methods/requests/search_test.go +++ b/tests/output/go/tests/methods/requests/search_test.go @@ -20,6 +20,9 @@ func createSearchClient() (*search.APIClient, *echoRequester) { } client := search.NewClientWithConfig(cfg) + // so that the linter doesn't complain + _ = jsonassert.New(nil) + return client, echo }