~mdw
/
disorder
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Synchronize with disorder.dev
[disorder]
/
lib
/
t-words.c
diff --git
a/lib/t-words.c
b/lib/t-words.c
index
4b3ee55
..
30730c9
100644
(file)
--- a/
lib/t-words.c
+++ b/
lib/t-words.c
@@
-49,11
+49,10
@@
struct {
};
#define NWTEST (sizeof wtest / sizeof *wtest)
};
#define NWTEST (sizeof wtest / sizeof *wtest)
-void test_words(void) {
+
static
void test_words(void) {
size_t t, nexpect, ngot, i;
int right;
size_t t, nexpect, ngot, i;
int right;
- fprintf(stderr, "test_words\n");
for(t = 0; t < NWTEST; ++t) {
char **got = utf8_word_split(wtest[t].in, strlen(wtest[t].in), &ngot, 0);
for(t = 0; t < NWTEST; ++t) {
char **got = utf8_word_split(wtest[t].in, strlen(wtest[t].in), &ngot, 0);
@@
-82,6
+81,8
@@
void test_words(void) {
}
}
}
}
+TEST(words);
+
/*
Local Variables:
c-basic-offset:2
/*
Local Variables:
c-basic-offset:2