mirror of https://github.com/djcb/mu.git
query: exclude some test code from coverage
This commit is contained in:
parent
97459beed9
commit
810b9643f4
|
@ -289,9 +289,9 @@ Query::count(const std::string& expr) const
|
||||||
0);
|
0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* LCOV_EXCL_START*/
|
||||||
std::string
|
std::string
|
||||||
Query::parse(const std::
|
Query::parse(const std::string& expr, bool xapian) const
|
||||||
string& expr, bool xapian) const
|
|
||||||
{
|
{
|
||||||
WarningVec warns;
|
WarningVec warns;
|
||||||
const auto tree{priv_->parser_.parse(expr, warns)};
|
const auto tree{priv_->parser_.parse(expr, warns)};
|
||||||
|
@ -303,3 +303,4 @@ Query::parse(const std::
|
||||||
else
|
else
|
||||||
return to_string(tree);
|
return to_string(tree);
|
||||||
}
|
}
|
||||||
|
/* LCOV_EXCL_STOP*/
|
||||||
|
|
Loading…
Reference in New Issue