From a2c3f74771c212cae33d126c3fd8588f8e1a8719 Mon Sep 17 00:00:00 2001 From: Krzysztof Kiewicz Date: Sat, 28 Dec 2024 15:46:44 +0100 Subject: [PATCH] Cleanup --- quesma/testdata/aggregation_requests_2.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/quesma/testdata/aggregation_requests_2.go b/quesma/testdata/aggregation_requests_2.go index 253899bcb..3fb4b4132 100644 --- a/quesma/testdata/aggregation_requests_2.go +++ b/quesma/testdata/aggregation_requests_2.go @@ -8,6 +8,8 @@ import ( "time" ) +var randomTrueVariableUsedBelow = true + // Goland lags a lot when you edit aggregation_requests.go file, so let's add new tests to this one. var AggregationTests2 = []AggregationTestCase{ @@ -5340,7 +5342,7 @@ var AggregationTests2 = []AggregationTestCase{ }}, {Cols: []model.QueryResultCol{ model.NewQueryResultCol("aggr__terms__parent_count", int64(50000)), - model.NewQueryResultCol("aggr__terms__key_0", &someTrue), + model.NewQueryResultCol("aggr__terms__key_0", &randomTrueVariableUsedBelow), // used here model.NewQueryResultCol("aggr__terms__count", int64(2)), }}, },