Skip to content
Snippets Groups Projects
Commit ac7178ab authored by Stéphane Del Pino's avatar Stéphane Del Pino
Browse files

Fix unreachable code coverage

parent 03a2019e
No related branches found
No related tags found
1 merge request!54Feature/language coverage
......@@ -133,7 +133,9 @@ class AffectationExecutor final : public IAffectationExecutor
if constexpr (std::is_convertible_v<Vi_T, double>) {
m_lhs[i] = vi;
} else {
// LCOV_EXCL_START
throw UnexpectedError("unexpected rhs type in affectation");
// LCOV_EXCL_STOP
}
},
v[i]);
......@@ -145,7 +147,9 @@ class AffectationExecutor final : public IAffectationExecutor
if constexpr (std::is_convertible_v<Vi_T, double>) {
m_lhs = v;
} else {
// LCOV_EXCL_START
throw UnexpectedError("unexpected rhs type in affectation");
// LCOV_EXCL_STOP
}
},
rhs);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment