diff --git a/tests/src/ComparisonUtils.h b/tests/src/ComparisonUtils.h index 1e0b92d6..1cd9038b 100644 --- a/tests/src/ComparisonUtils.h +++ b/tests/src/ComparisonUtils.h @@ -177,6 +177,7 @@ bool compareRelation(const LcioT* lcioElem, const EDM4hepT& edm4hepElem, const M } else { std::cerr << msg << " cannot find LCIO object " << lcioElem << " in object map for relation checking" << std::endl; + return false; } return true;