X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Funictype%2Ftest-categ_and_not.c;h=90b40f8bae362b3cd8cf51c3e5467bd799511f5e;hb=bc7cb38da9d3ee6dcbf20f0dbbcf9cc6e29a04b6;hp=2aa6bfc230d7e92e535ffcfd1240439193b2d46f;hpb=a635ca9c01d6e9a747ac9c0c2eed04658486d400;p=gnulib.git diff --git a/tests/unictype/test-categ_and_not.c b/tests/unictype/test-categ_and_not.c index 2aa6bfc23..90b40f8ba 100644 --- a/tests/unictype/test-categ_and_not.c +++ b/tests/unictype/test-categ_and_not.c @@ -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_not ( uc_general_category_or (UC_LETTER, UC_NUMBER), uc_general_category_or (UC_UPPERCASE_LETTER, UC_DECIMAL_DIGIT_NUMBER)); - + ASSERT (!uc_is_general_category ('A', ct)); ASSERT (uc_is_general_category ('a', ct)); ASSERT (!uc_is_general_category ('7', ct));