query: exclude some test code from coverage

This commit is contained in:
Dirk-Jan C. Binnema 2022-06-29 22:20:09 +03:00
parent 97459beed9
commit 810b9643f4
1 changed files with 3 additions and 2 deletions

View File

@ -289,9 +289,9 @@ Query::count(const std::string& expr) const
0);
}
/* LCOV_EXCL_START*/
std::string
Query::parse(const std::
string& expr, bool xapian) const
Query::parse(const std::string& expr, bool xapian) const
{
WarningVec warns;
const auto tree{priv_->parser_.parse(expr, warns)};
@ -303,3 +303,4 @@ Query::parse(const std::
else
return to_string(tree);
}
/* LCOV_EXCL_STOP*/