From ca0cfb32242363fbaaf8aef72f007fe975f83f08 Mon Sep 17 00:00:00 2001 From: Hardy Date: Mon, 15 Mar 2021 10:42:44 +0800 Subject: [PATCH] Update aggregations_test.go Fix conflict. --- aggregations_test.go | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/aggregations_test.go b/aggregations_test.go index 8730966..949123d 100644 --- a/aggregations_test.go +++ b/aggregations_test.go @@ -82,9 +82,8 @@ func TestAggregations(t *testing.T) { }, "filtered": map[string]interface{}{ "filter": map[string]interface{}{ - "term": map[string]interface{} - "type": map[string]interface{} { - + "term": map[string]interface{}{ + "type": map[string]interface{}{ "value": "t-shirt", }, }, @@ -93,7 +92,6 @@ func TestAggregations(t *testing.T) { }, }, }, - { "order for termsAggs", //eq.Aggregate(eq.TermsAgg("a1", "FIELD1").Size(0).Aggs(eq.Sum("a2", "FIELD2.SUBFIELD")))