diff options
author | Arne Juul <arnej@verizonmedia.com> | 2020-08-16 10:39:27 +0000 |
---|---|---|
committer | Arne Juul <arnej@verizonmedia.com> | 2020-08-16 10:52:26 +0000 |
commit | 0114d668b0db8b6281f1b588efc07a0d8e616f7f (patch) | |
tree | 79fdf17df204f4c06450440755a24ddff73b65fa /searchcore/src/tests/proton/matching/query_test.cpp | |
parent | e98b5a77300eda52f082b9c17b9cf4915b3fe4b0 (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.cpp | 2 |
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; |