summaryrefslogtreecommitdiffstats
path: root/searchlib/src/tests/query
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2021-03-04 16:15:53 +0000
committerHenning Baldersheim <balder@yahoo-inc.com>2021-03-04 18:07:04 +0000
commit4d4b1024cbaa9ad537927d66309db8aa9f628c37 (patch)
tree834db36e1f9c1fa8804713ae049deb3d86c6264b /searchlib/src/tests/query
parent311e77aad06f187c70864a80a0703082f72bb3d8 (diff)
Keep only one ucs4 buffer, and create the buffer lazy.
Diffstat (limited to 'searchlib/src/tests/query')
-rw-r--r--searchlib/src/tests/query/streaming_query_test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/searchlib/src/tests/query/streaming_query_test.cpp b/searchlib/src/tests/query/streaming_query_test.cpp
index 9aa07570c0d..2db25da03f7 100644
--- a/searchlib/src/tests/query/streaming_query_test.cpp
+++ b/searchlib/src/tests/query/streaming_query_test.cpp
@@ -734,8 +734,8 @@ TEST("testSameElementEvaluate") {
TEST("Control the size of query terms") {
EXPECT_EQUAL(104u, sizeof(QueryTermSimple));
- EXPECT_EQUAL(136u, sizeof(QueryTermUCS4));
- EXPECT_EQUAL(280u, sizeof(QueryTerm));
+ EXPECT_EQUAL(120u, sizeof(QueryTermUCS4));
+ EXPECT_EQUAL(264u, sizeof(QueryTerm));
}
TEST_MAIN() { TEST_RUN_ALL(); }