diff options
Diffstat (limited to 'tests/test-c-strcasecmp.c')
-rw-r--r-- | tests/test-c-strcasecmp.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/tests/test-c-strcasecmp.c b/tests/test-c-strcasecmp.c index 16244b9f33..e0c23685d4 100644 --- a/tests/test-c-strcasecmp.c +++ b/tests/test-c-strcasecmp.c @@ -26,15 +26,15 @@ #include <string.h> #define ASSERT(expr) \ - do \ - { \ - if (!(expr)) \ - { \ + do \ + { \ + if (!(expr)) \ + { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ - fflush (stderr); \ - abort (); \ - } \ - } \ + fflush (stderr); \ + abort (); \ + } \ + } \ while (0) int @@ -44,7 +44,7 @@ main (int argc, char *argv[]) { /* configure should already have checked that the locale is supported. */ if (setlocale (LC_ALL, "") == NULL) - return 1; + return 1; } ASSERT (c_strcasecmp ("paragraph", "Paragraph") == 0); |