summaryrefslogtreecommitdiff
path: root/t/helper/test-ctype.c
diff options
context:
space:
mode:
Diffstat (limited to 't/helper/test-ctype.c')
-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"