Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2023-05-10 20:23:27 +0300
committerJunio C Hamano <gitster@pobox.com>2023-05-10 20:23:27 +0300
commit6710b68db184fee3b0524d188c1e380f2650215e (patch)
tree81d09bc8792e2ca82ffe38665833bc0b1ed137a3 /t
parent5597cfdf47db94825213fefe78c4485e6a5702d8 (diff)
parent31885f64e96e172cc03506f875fb535172a27c05 (diff)
Merge branch 'rs/test-ctype-eof'
ctype tests have been taught to test EOF, too. * rs/test-ctype-eof: test-ctype: check EOF
Diffstat (limited to 't')
-rw-r--r--t/helper/test-ctype.c2
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"