* modules/c32ispunct (Depends-on): Add iswpunct.
* tests/test-c32ispunct.c (main): Add a few more tests in the "C"
locale.
2023-08-29 Bruno Haible <bruno@clisp.org>
+ c32ispunct: Rely on module iswpunct.
+ * modules/c32ispunct (Depends-on): Add iswpunct.
+ * tests/test-c32ispunct.c (main): Add a few more tests in the "C"
+ locale.
+
iswpunct: Add tests.
* tests/test-iswpunct.c: New file, based on tests/test-iswdigit.c and
tests/test-c32ispunct.c.
uchar
wchar
wctype-h
+iswpunct
localcharset [test $REPLACE_MBSTATE_T = 1]
streq [test $REPLACE_MBSTATE_T = 1]
unictype/ctype-punct
{
case '0':
/* C locale; tested above. */
+ /* These characters are not in the ISO C "basic character set", but
+ are nevertheless usually expected to be punctuation or symbol
+ characters. */
+ is = for_character ("$", 1);
+ ASSERT (is != 0);
+ is = for_character ("@", 1);
+ ASSERT (is != 0);
+ is = for_character ("`", 1);
+ ASSERT (is != 0);
return 0;
case '1':