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

@ -107,7 +107,7 @@ int resume(void)
while (fp == NULL) {
char* name = myreadline("\nFile name: ");
// Autocomplete can leave the input with an extra traoling space.
// Autocomplete can leave the input with an extra trailing space.
if (name != NULL && strlen(name) > 0 && name[strlen(name) - 1] == ' ')
name[strlen(name) - 1] = '\0';
if (name == NULL)