Improve test coverage.
This commit is contained in:
parent
6f7c5743c6
commit
49e2479efa
5 changed files with 38 additions and 5 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue