diff --git a/t/helper/test-ctype.c b/t/helper/test-ctype.c index b21bd672d9..c8a0363ba2 100644 --- a/t/helper/test-ctype.c +++ b/t/helper/test-ctype.c @@ -28,6 +28,8 @@ static int is_in(const char *s, int ch) if (is_in(s, i) != t(i)) \ report_error(#t, i); \ } \ + if (t(EOF)) \ + report_error(#t, EOF); \ } #define DIGIT "0123456789"