diff options
Diffstat (limited to 'searchlib/src/tests/aggregator')
-rw-r--r-- | searchlib/src/tests/aggregator/attr_test.cpp | 6 | ||||
-rw-r--r-- | searchlib/src/tests/aggregator/perdocexpr.cpp | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/searchlib/src/tests/aggregator/attr_test.cpp b/searchlib/src/tests/aggregator/attr_test.cpp index c57f335aceb..21fc41e3b9d 100644 --- a/searchlib/src/tests/aggregator/attr_test.cpp +++ b/searchlib/src/tests/aggregator/attr_test.cpp @@ -1,9 +1,6 @@ // Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #include <vespa/vespalib/testkit/test_kit.h> -#include <vespa/log/log.h> -LOG_SETUP("attr_test"); - #include <vespa/searchlib/aggregation/perdocexpression.h> #include <vespa/searchlib/aggregation/aggregation.h> #include <vespa/searchlib/attribute/extendableattributes.h> @@ -11,6 +8,9 @@ LOG_SETUP("attr_test"); #include <vespa/searchlib/expression/arrayatlookupfunctionnode.h> #include <vespa/searchlib/expression/interpolatedlookupfunctionnode.h> +#include <vespa/log/log.h> +LOG_SETUP("attr_test"); + using namespace search; using namespace search::expression; using namespace vespalib; diff --git a/searchlib/src/tests/aggregator/perdocexpr.cpp b/searchlib/src/tests/aggregator/perdocexpr.cpp index 9837deb0186..25bbd16de07 100644 --- a/searchlib/src/tests/aggregator/perdocexpr.cpp +++ b/searchlib/src/tests/aggregator/perdocexpr.cpp @@ -1,8 +1,5 @@ // Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. -#include <vespa/log/log.h> -LOG_SETUP("per_doc_expr_test"); - #include <vespa/searchlib/aggregation/aggregation.h> #include <vespa/searchlib/aggregation/expressioncountaggregationresult.h> #include <vespa/searchlib/aggregation/perdocexpression.h> @@ -17,6 +14,9 @@ LOG_SETUP("per_doc_expr_test"); #include <iostream> #include <list> +#include <vespa/log/log.h> +LOG_SETUP("per_doc_expr_test"); + #define MU std::make_unique using namespace search; |