X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Funicase%2Ftest-u16-is-titlecase.c;h=e7000dbc0a030a5dca2ee169818d56befaf1cca8;hb=2f0e0a85324a518837fca63bc696ca0ce16d9ee9;hp=6b1c6d1098f6f25c9e85a8ca2520bd1bc6841958;hpb=2b0991c2adbebba8d9ff03a956b6d4f65ee164d0;p=gnulib.git diff --git a/tests/unicase/test-u16-is-titlecase.c b/tests/unicase/test-u16-is-titlecase.c index 6b1c6d109..e7000dbc0 100644 --- a/tests/unicase/test-u16-is-titlecase.c +++ b/tests/unicase/test-u16-is-titlecase.c @@ -1,5 +1,5 @@ /* Test of test whether an UTF-16 string is entirely title case. - Copyright (C) 2009 Free Software Foundation, Inc. + Copyright (C) 2009, 2010 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -20,23 +20,8 @@ #include "unicase.h" -#include -#include - #include "unistr.h" - -#define SIZEOF(array) (sizeof (array) / sizeof (array[0])) -#define ASSERT(expr) \ - do \ - { \ - if (!(expr)) \ - { \ - fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ - fflush (stderr); \ - abort (); \ - } \ - } \ - while (0) +#include "macros.h" #define UNIT uint16_t #include "test-is-titlecase.h"