From 40f313056fd479ab2b19132f308de1aa640b669e Mon Sep 17 00:00:00 2001 From: Henning Baldersheim Date: Wed, 3 May 2017 14:00:59 +0200 Subject: Revert "Fix warnings hidden earlier due to including application headers as s…" MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../imported_search_context/imported_search_context_test.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'searchlib/src/tests/attribute/imported_search_context') 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 #include #include #include -#include 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) { -- cgit v1.2.3