Skip to content

Commit

Permalink
[TEST] Exclude un-hittable lines in interactive code path from code c…
Browse files Browse the repository at this point in the history
…overage.
  • Loading branch information
smehringer committed Jul 19, 2019
1 parent ac39c96 commit 51cfb76
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/seqan3/argument_parser/detail/version_check.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ class version_checker
// nor did the the cookie tell us what to do. We will now ask the user if possible or do the check by default.
write_cookie("ASK"); // Ask again next time when we read the cookie, if this is not overwritten.

if (detail::is_terminal())
if (detail::is_terminal()) // LCOV_EXCL_START
{
std::cerr << R"(
#######################################################################
Expand Down Expand Up @@ -403,7 +403,7 @@ class version_checker
)";
return true; // default: check version if you cannot ask the user
}
}
} // LCOV_EXCL_STOP

//!\brief The identification string that may appear in the version file if an app is unregistered.
static constexpr std::string_view unregistered_app = "UNREGISTERED_APP";
Expand Down

0 comments on commit 51cfb76

Please sign in to comment.