X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/3ece470d21e4fcc14337db1d631290d5e7cd4959..c68d8eba5fe27f4e9ecf4938a6f5a5636d5872d2:/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