diff --git a/tests/option.c b/tests/option.c index 8e81f7b..34b688e 100644 --- a/tests/option.c +++ b/tests/option.c @@ -16,7 +16,7 @@ teardown() { FILE *stream; - for (int i = 1; i < OPTION_MAX_DISKS; i++) { + for (int i = 1; i <= OPTION_MAX_DISKS; i++) { stream = option_get_input(i); if (stream