Tests for module 'uninorm/nfkc'.
[gnulib.git] / tests / unictype / test-categ_and.c
index dd0bcd7..5531ff4 100644 (file)
@@ -1,5 +1,5 @@
 /* Test the Unicode character type functions.
-   Copyright (C) 2007 Free Software Foundation, Inc.
+   Copyright (C) 2007-2008 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
@@ -28,6 +28,7 @@
       if (!(expr))                                                          \
         {                                                                   \
           fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
+          fflush (stderr);                                                  \
           abort ();                                                         \
         }                                                                   \
     }                                                                       \
@@ -40,7 +41,7 @@ main ()
     uc_general_category_and (
       uc_general_category_or (UC_LETTER, UC_DECIMAL_DIGIT_NUMBER),
       uc_general_category_or (UC_UPPERCASE_LETTER, UC_NUMBER));
-  
+
   ASSERT (uc_is_general_category ('A', ct));
   ASSERT (!uc_is_general_category ('a', ct));
   ASSERT (uc_is_general_category ('7', ct));