Browse Source

Merge branch 'rs/test-ctype-eof'

ctype tests have been taught to test EOF, too.

* rs/test-ctype-eof:
  test-ctype: check EOF
main
Junio C Hamano 2 years ago
parent
commit
6710b68db1
  1. 2
      t/helper/test-ctype.c

2
t/helper/test-ctype.c

@ -27,6 +27,8 @@ static int is_in(const char *s, int ch) @@ -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…
Cancel
Save