diff options
author | Junio C Hamano <gitster@pobox.com> | 2023-05-10 10:23:27 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-05-10 10:23:27 -0700 |
commit | 6710b68db184fee3b0524d188c1e380f2650215e (patch) | |
tree | 81d09bc8792e2ca82ffe38665833bc0b1ed137a3 | |
parent | 5597cfdf47db94825213fefe78c4485e6a5702d8 (diff) | |
parent | 31885f64e96e172cc03506f875fb535172a27c05 (diff) | |
download | git-6710b68db184fee3b0524d188c1e380f2650215e.tar.gz |
Merge branch 'rs/test-ctype-eof'
ctype tests have been taught to test EOF, too.
* rs/test-ctype-eof:
test-ctype: check EOF
-rw-r--r-- | t/helper/test-ctype.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/t/helper/test-ctype.c b/t/helper/test-ctype.c index 71a1a5c9b0..e5659df40b 100644 --- a/t/helper/test-ctype.c +++ b/t/helper/test-ctype.c @@ -27,6 +27,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" |