test-ctype: check EOF
commit31885f64e96e172cc03506f875fb535172a27c05
authorRené Scharfe <l.s.r@web.de>
Mon, 1 May 2023 19:51:57 +0000 (1 21:51 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 2 May 2023 16:25:54 +0000 (2 09:25 -0700)
tree4f1eaa421ab995962cd34b5462ee492ffa37d72a
parent0d1bd1dfb37ef25e1911777c94129fc769ffec38
test-ctype: check EOF

The character classifiers are supposed to allow passing EOF to them, a
negative value.  It isn't part of any character class.  Extend the tests
to cover that.

Signed-off-by: René Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/helper/test-ctype.c