chiark
/
gitweb
/
~mdw
/
disorder
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
disobedience/disobedience.h: Declare variables as `extern'.
[disorder]
/
libtests
/
t-words.c
diff --git
a/libtests/t-words.c
b/libtests/t-words.c
index af9468ceae72efacf51add08be5981508b0c4e73..a8efde9e8c2c9ed3c62b3d8aa1497db7472a397f 100644
(file)
--- a/
libtests/t-words.c
+++ b/
libtests/t-words.c
@@
-54,6
+54,7
@@
static void test_words(void) {
for(t = 0; t < NWTEST; ++t) {
char **got = utf8_word_split(wtest[t].in, strlen(wtest[t].in), &ngot, 0);
+ assert(got != NULL);
for(nexpect = 0; wtest[t].expect[nexpect]; ++nexpect)
;
if(nexpect == ngot) {