summaryrefslogtreecommitdiffstats
path: root/searchlib/src/tests/query
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2021-03-29 11:03:26 +0000
committerHenning Baldersheim <balder@yahoo-inc.com>2021-03-29 11:03:26 +0000
commitc9f8d4aec5ec0cec0bb93e01716f9a707b6ca8af (patch)
tree54613b5a04f7de816a8eac3c3e11f610bffe8a84 /searchlib/src/tests/query
parentf9c63106a9800731b272aaf9c1be32513b303c87 (diff)
- Simplify code by catching exception in one place.
- Unify error handling to prevent reading past the buffer. - track positions by using to integers insteda of 2 pointers.
Diffstat (limited to 'searchlib/src/tests/query')
-rw-r--r--searchlib/src/tests/query/querybuilder_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/searchlib/src/tests/query/querybuilder_test.cpp b/searchlib/src/tests/query/querybuilder_test.cpp
index c170f07f441..055d245e420 100644
--- a/searchlib/src/tests/query/querybuilder_test.cpp
+++ b/searchlib/src/tests/query/querybuilder_test.cpp
@@ -593,7 +593,7 @@ TEST("require that empty intermediate node can be added") {
}
TEST("control size of SimpleQueryStackDumpIterator") {
- EXPECT_EQUAL(152u, sizeof(SimpleQueryStackDumpIterator));
+ EXPECT_EQUAL(144u, sizeof(SimpleQueryStackDumpIterator));
}
TEST("test query parsing error") {