Improve test coverage.

This commit is contained in:
Eric S. Raymond 2022-04-07 06:42:20 -04:00
parent 6f7c5743c6
commit 49e2479efa
5 changed files with 38 additions and 5 deletions

View file

@ -861,8 +861,10 @@ static phase_codes_t fly(verb_t verb, obj_t obj)
game.newloc = LOC_CLIFF;
rspeak(RUG_RETURNS);
} else {
// LCOV_EXCL_START
/* should never happen */
rspeak(NOTHING_HAPPENS);
// LCOV_EXCL_STOP
}
return GO_TERMINATE;
}