diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2017-05-03 14:00:59 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-03 14:00:59 +0200 |
commit | 40f313056fd479ab2b19132f308de1aa640b669e (patch) | |
tree | f3c02e1d37a849323925d9f42feda2c87bf40871 /searchlib/src/tests/attribute/imported_search_context | |
parent | ae0c8a912c94e2afed7a2d60158d21fedce7a92c (diff) |
Revert "Fix warnings hidden earlier due to including application headers as s…"
Diffstat (limited to 'searchlib/src/tests/attribute/imported_search_context')
-rw-r--r-- | searchlib/src/tests/attribute/imported_search_context/imported_search_context_test.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/searchlib/src/tests/attribute/imported_search_context/imported_search_context_test.cpp b/searchlib/src/tests/attribute/imported_search_context/imported_search_context_test.cpp index f50767d22b3..af57eec46b1 100644 --- a/searchlib/src/tests/attribute/imported_search_context/imported_search_context_test.cpp +++ b/searchlib/src/tests/attribute/imported_search_context/imported_search_context_test.cpp @@ -1,9 +1,9 @@ // Copyright 2017 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. +#include <vespa/searchcommon/attribute/search_context_params.h> #include <vespa/searchlib/test/imported_attribute_fixture.h> #include <vespa/searchlib/attribute/imported_search_context.h> #include <vespa/searchlib/fef/termfieldmatchdata.h> -#include <vespa/searchcommon/attribute/search_context_params.h> namespace search { namespace attribute { @@ -65,7 +65,7 @@ TEST_F("approximateHits() returns document count of reference attribute", Fixtur add_n_docs_with_undefined_values(*f.reference_attr, 101); auto ctx = f.create_context(word_term("foo")); - EXPECT_EQUAL(101u, ctx->approximateHits()); + EXPECT_EQUAL(101, ctx->approximateHits()); } TEST_F("attributeName() returns imported attribute name", Fixture) { |