X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Funictype%2Ftest-categ_and.c;h=5531ff40b9a5b2cfe07d6b892a337d0739366833;hb=8424f040f4bfc95e7448e62ac26ea028faf36480;hp=dd0bcd73179f69cd59b5b1118d38ccc7d6095bb1;hpb=a635ca9c01d6e9a747ac9c0c2eed04658486d400;p=gnulib.git diff --git a/tests/unictype/test-categ_and.c b/tests/unictype/test-categ_and.c index dd0bcd731..5531ff40b 100644 --- a/tests/unictype/test-categ_and.c +++ b/tests/unictype/test-categ_and.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 ( 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));