aboutsummaryrefslogtreecommitdiffstats
path: root/searchcore/src/tests/proton/matching/query_test.cpp
diff options
context:
space:
mode:
authorArne Juul <arnej@verizonmedia.com>2020-07-10 20:25:15 +0000
committerArne Juul <arnej@verizonmedia.com>2020-07-15 15:39:22 +0000
commit66bf4ff20707a67df5fbbe2d10076947dcfd8c44 (patch)
tree50d4e5c0c2637d97fe21dbf8ecb6d113504bdd0f /searchcore/src/tests/proton/matching/query_test.cpp
parentd76d41afe62b4e80006d41fea85829f483177ae1 (diff)
preserve old behavior
Diffstat (limited to 'searchcore/src/tests/proton/matching/query_test.cpp')
-rw-r--r--searchcore/src/tests/proton/matching/query_test.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/searchcore/src/tests/proton/matching/query_test.cpp b/searchcore/src/tests/proton/matching/query_test.cpp
index 24e1e886351..6fbd43eabbe 100644
--- a/searchcore/src/tests/proton/matching/query_test.cpp
+++ b/searchcore/src/tests/proton/matching/query_test.cpp
@@ -730,7 +730,8 @@ void checkQueryAddsLocation(Test &test, const string &loc_string) {
SearchIterator::UP search = query.createSearch(*md);
test.ASSERT_TRUE(search.get());
if (!test.EXPECT_NOT_EQUAL(string::npos, search->asString().find(loc_string))) {
- fprintf(stderr, "search (missing loc_string): %s", search->asString().c_str());
+ fprintf(stderr, "search (missing loc_string '%s'): %s",
+ loc_string.c_str(), search->asString().c_str());
}
}