Merge branch 'rs/test-ctype-eof'

ctype tests have been taught to test EOF, too.

* rs/test-ctype-eof:
  test-ctype: check EOF
maint
Junio C Hamano 2023-05-10 10:23:27 -07:00
commit 6710b68db1
1 changed files with 2 additions and 0 deletions

View File

@ -27,6 +27,8 @@ static int is_in(const char *s, int ch)
if (is_in(s, i) != t(i)) \ if (is_in(s, i) != t(i)) \
report_error(#t, i); \ report_error(#t, i); \
} \ } \
if (t(EOF)) \
report_error(#t, EOF); \
} }


#define DIGIT "0123456789" #define DIGIT "0123456789"