diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2017-05-03 16:58:18 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-03 16:58:18 +0200 |
commit | 56cda12279b911a004a2e8c41ab274665a7a8b5f (patch) | |
tree | f1bfc1a650ff84310a6375e3ccf02660223e8ee8 /searchlib/src/tests/fef/properties/properties_test.cpp | |
parent | 790c0537be1444dec6e1f4c6cdb597bedb707e91 (diff) |
Revert "Revert "Fix warnings hidden earlier due to including application headers as s…""
Diffstat (limited to 'searchlib/src/tests/fef/properties/properties_test.cpp')
-rw-r--r-- | searchlib/src/tests/fef/properties/properties_test.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/searchlib/src/tests/fef/properties/properties_test.cpp b/searchlib/src/tests/fef/properties/properties_test.cpp index b63cf82a54e..c7400d5815b 100644 --- a/searchlib/src/tests/fef/properties/properties_test.cpp +++ b/searchlib/src/tests/fef/properties/properties_test.cpp @@ -1,5 +1,4 @@ // Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. -#include <vespa/fastos/fastos.h> #include <vespa/vespalib/testkit/test_kit.h> #include <vespa/searchlib/fef/indexproperties.h> #include <vespa/searchlib/fef/properties.h> @@ -278,9 +277,9 @@ TEST("test stuff") { { // vespa.matching.minhitsperthread EXPECT_EQUAL(matching::MinHitsPerThread::NAME, vespalib::string("vespa.matching.minhitsperthread")); - EXPECT_EQUAL(matching::MinHitsPerThread::DEFAULT_VALUE, 0); + EXPECT_EQUAL(matching::MinHitsPerThread::DEFAULT_VALUE, 0u); Properties p; - EXPECT_EQUAL(matching::MinHitsPerThread::lookup(p), 0); + EXPECT_EQUAL(matching::MinHitsPerThread::lookup(p), 0u); p.add("vespa.matching.minhitsperthread", "50"); EXPECT_EQUAL(matching::MinHitsPerThread::lookup(p), 50u); } |