mirror of
https://github.com/git/git.git
synced 2024-09-27 04:02:18 +02:00
Merge branch 'rs/test-ctype-eof' into next
ctype tests have been taught to test EOF, too. * rs/test-ctype-eof: test-ctype: check EOF
This commit is contained in:
commit
a19201a6a9
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user