X-Git-Url: https://git.distorted.org.uk/~mdw/disorder/blobdiff_plain/b90f122bd10bd896f2f9b0cf5676bcd436a7d42e..448d3570a4b73f0056c4bb61c5d80e4778a5e0bd:/lib/t-casefold.c diff --git a/lib/t-casefold.c b/lib/t-casefold.c index f86738e..449eaff 100644 --- a/lib/t-casefold.c +++ b/lib/t-casefold.c @@ -19,12 +19,10 @@ */ #include "test.h" -void test_casefold(void) { +static void test_casefold(void) { uint32_t c, l; const char *input, *canon_folded, *compat_folded, *canon_expected, *compat_expected; - fprintf(stderr, "test_casefold\n"); - /* This isn't a very exhaustive test. Unlike for normalization, there don't * seem to be any public test vectors for these algorithms. */ @@ -75,6 +73,8 @@ void test_casefold(void) { check_string(utf8_casefold_canon("", 0, 0), ""); } +TEST(casefold); + /* Local Variables: c-basic-offset:2