X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/b90f122bd10bd896f2f9b0cf5676bcd436a7d42e..0e2b222fc14b8f890fab644118cf0f43abbe450a:/lib/t-utf8.c diff --git a/lib/t-utf8.c b/lib/t-utf8.c index de2f8b3..a98f956 100644 --- a/lib/t-utf8.c +++ b/lib/t-utf8.c @@ -19,7 +19,7 @@ */ #include "test.h" -void test_utf8(void) { +static void test_utf8(void) { /* Test validutf8, convert to UCS-4, check the answer is right, * convert back to UTF-8, check we got to where we started */ #define U8(CHARS, WORDS) do { \ @@ -36,7 +36,6 @@ void test_utf8(void) { check_string(u8, CHARS); \ } while(0) - fprintf(stderr, "test_utf8\n"); #define validutf8(S) utf8_valid((S), strlen(S)) /* empty string */ @@ -134,6 +133,8 @@ void test_utf8(void) { insist(!validutf8("\xF8")); } +TEST(utf8); + /* Local Variables: c-basic-offset:2