summaryrefslogtreecommitdiffstats
path: root/searchcore/src/tests/proton/matching/query_test.cpp
diff options
context:
space:
mode:
authorArne Juul <arnej@verizonmedia.com>2020-08-16 10:39:27 +0000
committerArne Juul <arnej@verizonmedia.com>2020-08-16 10:52:26 +0000
commit0114d668b0db8b6281f1b588efc07a0d8e616f7f (patch)
tree79fdf17df204f4c06450440755a24ddff73b65fa /searchcore/src/tests/proton/matching/query_test.cpp
parente98b5a77300eda52f082b9c17b9cf4915b3fe4b0 (diff)
allow extracting locations as terms
Diffstat (limited to 'searchcore/src/tests/proton/matching/query_test.cpp')
-rw-r--r--searchcore/src/tests/proton/matching/query_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/searchcore/src/tests/proton/matching/query_test.cpp b/searchcore/src/tests/proton/matching/query_test.cpp
index 6fbd43eabbe..01f7e25eb51 100644
--- a/searchcore/src/tests/proton/matching/query_test.cpp
+++ b/searchcore/src/tests/proton/matching/query_test.cpp
@@ -716,7 +716,7 @@ void checkQueryAddsLocation(Test &test, const string &loc_string) {
ViewResolver(), index_environment);
vector<const ITermData *> term_data;
query.extractTerms(term_data);
- test.EXPECT_EQUAL(1u, term_data.size());
+ test.EXPECT_EQUAL(2u, term_data.size());
FakeRequestContext requestContext;
FakeSearchContext context;