From 810b9643f407e62f500a049ebb7bb83a2fd36be6 Mon Sep 17 00:00:00 2001 From: "Dirk-Jan C. Binnema" Date: Wed, 29 Jun 2022 22:20:09 +0300 Subject: [PATCH] query: exclude some test code from coverage --- lib/mu-query.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/mu-query.cc b/lib/mu-query.cc index 6ffc2e7b..8be9052c 100644 --- a/lib/mu-query.cc +++ b/lib/mu-query.cc @@ -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*/