diff options
author | Henning Baldersheim <balder@oath.com> | 2018-04-03 18:22:40 +0200 |
---|---|---|
committer | Henning Baldersheim <balder@oath.com> | 2018-04-03 18:22:40 +0200 |
commit | 057bcb5ca301f475208552c75d527ee8ccade6d4 (patch) | |
tree | 2e92534d6bbd83d50c577f041453e1122983b403 | |
parent | 06805d1c5af36c8be0c5fdfeb959acadd2835543 (diff) |
make the test pass again as the code was already correct.
-rw-r--r-- | searchlib/src/tests/attribute/searchable/attribute_searchable_adapter_test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/searchlib/src/tests/attribute/searchable/attribute_searchable_adapter_test.cpp b/searchlib/src/tests/attribute/searchable/attribute_searchable_adapter_test.cpp index d8e295cb469..1306a0aaaac 100644 --- a/searchlib/src/tests/attribute/searchable/attribute_searchable_adapter_test.cpp +++ b/searchlib/src/tests/attribute/searchable/attribute_searchable_adapter_test.cpp @@ -476,7 +476,7 @@ TEST("require that single weighted set turns filter on filter fields") { Result result = do_search(attribute_manager, node, strict); EXPECT_EQUAL(3u, result.est_hits); EXPECT_TRUE(result.iterator_dump.find("DocumentWeightSearchIterator") == vespalib::string::npos); - EXPECT_TRUE(result.iterator_dump.find("FilterAttributePostingListIteratorT") == vespalib::string::npos); + EXPECT_TRUE(result.iterator_dump.find("FilterAttributePostingListIteratorT") != vespalib::string::npos); ASSERT_EQUAL(3u, result.hits.size()); EXPECT_FALSE(result.est_empty); EXPECT_EQUAL(20u, result.hits[0].docid); |