t-ctype: simplify EOF check
commit752cb6ef816c8b2b37e38e418bd11698c00027e4
authorRené Scharfe <l.s.r@web.de>
Sun, 3 Mar 2024 10:13:26 +0000 (3 11:13 +0100)
committerJunio C Hamano <gitster@pobox.com>
Sun, 3 Mar 2024 17:47:33 +0000 (3 09:47 -0800)
treef4728cfdbbad2c3537842d97e4a1ffaa188061a1
parent980013e90dd12ec1ff9eec23cebb0c845f198dab
t-ctype: simplify EOF check

EOF is not a member of any character class.  If a classifier function
returns a non-zero result for it, presumably by mistake, then the unit
test check reports:

   # check "!iseof(EOF)" failed at t/unit-tests/t-ctype.c:53
   #       i: 0xffffffff (EOF)

The numeric value of EOF is not particularly interesting in this
context.  Stop printing the second line.

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